- A little AI tweak to support Awe Strike.

This commit is contained in:
Sloth
2012-05-07 14:05:18 +00:00
parent 4a51cdca13
commit b2aecdc7ea

View File

@@ -299,7 +299,7 @@ public class AbilityFactoryEffect {
}
final Target tgt = sa.getTarget();
if (tgt != null) {
if (tgt != null && tgt.canTgtPlayer()) {
tgt.resetTargets();
if (tgt.canOnlyTgtOpponent() || logic.equals("BeginningOfOppTurn")) {
tgt.addTarget(AllZone.getHumanPlayer());