Browse Source

spells that target self now default to self target

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
49e5be959f
  1. 3
      src/engine/gameManager/PowersManager.java

3
src/engine/gameManager/PowersManager.java

@ -1787,7 +1787,8 @@ public enum PowersManager { @@ -1787,7 +1787,8 @@ public enum PowersManager {
ac.setItemCasting(false);
if (ac == null || target == null || pb == null)
return;
if(pb.targetSelf)
target = ac;
ac.clearTimer(Integer.toString(pb.getToken()));
if (liveCounter == ac.getLiveCounter())
finishApplyPowerA(ac, target, targetLoc, pb, trains, false);

Loading…
Cancel
Save