fixed Reveille Squad trigger

This commit is contained in:
Evan Kranzler 2017-10-07 18:43:51 -04:00
parent f16b5881e8
commit a7ff929e63

View file

@ -92,7 +92,12 @@ class ReveilleSquadTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
return game.getCombat().getDefenders().contains(controllerId);
for (UUID attackerId : game.getCombat().getAttackers()) {
if (game.getCombat().getDefenderId(attackerId).equals(controllerId)) {
return true;
}
}
return false;
}
@Override