|
|
@ -946,7 +946,7 @@ public enum PowersManager { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// If something blocks the action, then stop
|
|
|
|
// If something blocks the action, then stop
|
|
|
|
|
|
|
|
|
|
|
|
if (ab.blocked(target)) { |
|
|
|
if (ab.blocked(target,pb.vampDrain)) { |
|
|
|
PowersManager.sendEffectMsg(playerCharacter, 5, ab, pb); |
|
|
|
PowersManager.sendEffectMsg(playerCharacter, 5, ab, pb); |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
@ -1121,7 +1121,7 @@ public enum PowersManager { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// If something blocks the action, then stop
|
|
|
|
// If something blocks the action, then stop
|
|
|
|
|
|
|
|
|
|
|
|
if (ab.blocked(target)) |
|
|
|
if (ab.blocked(target,pb.vampDrain)) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// TODO handle overwrite stack order here
|
|
|
|
// TODO handle overwrite stack order here
|
|
|
|
String stackType = ab.getStackType(); |
|
|
|
String stackType = ab.getStackType(); |
|
|
@ -1435,7 +1435,7 @@ public enum PowersManager { |
|
|
|
if (trains < ab.getMinTrains() || trains > ab.getMaxTrains()) |
|
|
|
if (trains < ab.getMinTrains() || trains > ab.getMaxTrains()) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// If something blocks the action, then stop
|
|
|
|
// If something blocks the action, then stop
|
|
|
|
if (ab.blocked(target)) |
|
|
|
if (ab.blocked(target,pb.vampDrain)) |
|
|
|
// sendPowerMsg(pc, 5, msg);
|
|
|
|
// sendPowerMsg(pc, 5, msg);
|
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// TODO handle overwrite stack order here
|
|
|
|
// TODO handle overwrite stack order here
|
|
|
|