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