spells that target self now default to self target

This commit is contained in:
2024-05-15 20:55:58 -05:00
parent 74a22d4cf5
commit 49e5be959f
+2 -1
View File
@@ -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);