forked from MagicBane/Server
spells that target self now default to self target
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user