combat formula and steal

This commit is contained in:
2025-01-20 16:08:54 -06:00
parent 05e542215d
commit 69bf6ef8cd
2 changed files with 9 additions and 5 deletions
@@ -187,8 +187,10 @@ public class StealPowerAction extends AbstractPowerAction {
DispatchMessage.dispatchMsgDispatch(dispatch, engine.Enum.DispatchChannel.SECONDARY);
//update thief's inventory
if (sourcePlayer.getCharItemManager() != null)
if (sourcePlayer.getCharItemManager() != null) {
sourcePlayer.getCharItemManager().updateInventory();
sourcePlayer.cancelOnAttackSwing();
}
//update victims inventory
if (owner.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) {