Browse Source

fixed crashing bug form my own mistake

pull/13/head
FatBoy-DOTC 2 years ago
parent
commit
3f35df3916
  1. 4
      src/engine/ai/utilities/CombatUtilities.java

4
src/engine/ai/utilities/CombatUtilities.java

@ -346,8 +346,8 @@ public class CombatUtilities { @@ -346,8 +346,8 @@ public class CombatUtilities {
}
//System.out.println(agent.getMobBase().getFirstName() + " is casting: " + PowersManager.getPowerByToken(powerToken).skillName);
PowersManager.applyPower(agent,target,target.getLoc(),powerToken,powerRank, false);
PerformActionMsg msg = new PerformActionMsg();
PowersManager.sendPowerMsg((PlayerCharacter)target,0,msg);
//PerformActionMsg msg = new PerformActionMsg();
//PowersManager.sendPowerMsg((PlayerCharacter)target,0,msg);
//return;
}
}

Loading…
Cancel
Save