combat formula and steal

This commit is contained in:
FatBoy committed 2025-01-20 16:08:54 -06:00
1 parent 05e542215d
commit 69bf6ef8cd
2 files changed
+9 -5

No files matched your search

@@ -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)) {