mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed Reveille Squad trigger
This commit is contained in:
parent
f16b5881e8
commit
a7ff929e63
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue