mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
fixed Ur-Dragon trigger
This commit is contained in:
parent
2b5f5463e6
commit
2861e5f86f
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class TheUrDragonTriggeredAbility extends TriggeredAbilityImpl {
|
|||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
for (UUID attacker : game.getCombat().getAttackers()) {
|
||||
Permanent creature = game.getPermanent(attacker);
|
||||
if (creature != null && creature.getControllerId() == event.getPlayerId() && creature.getSubtype(game).contains(SubType.DRAGON)) {
|
||||
if (creature != null && creature.getControllerId() == this.getControllerId() && creature.getSubtype(game).contains(SubType.DRAGON)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue