combat formula and steal
This commit is contained in:
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)) {
|
||||
|
||||
Reference in new issue
Block a user