mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
Build fix
This commit is contained in:
parent
063be44523
commit
9c401e33a4
1 changed files with 3 additions and 0 deletions
|
@ -75,10 +75,13 @@ class GuardianProjectTriggeredAbility extends EntersBattlefieldAllTriggeredAbili
|
||||||
if (!filter.match(permanent, sourceId, controllerId, game)) {
|
if (!filter.match(permanent, sourceId, controllerId, game)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkCondition(permanent, controllerId, game)) {
|
if (checkCondition(permanent, controllerId, game)) {
|
||||||
this.getEffects().clear();
|
this.getEffects().clear();
|
||||||
this.addEffect(new GuardianProjectEffect(new MageObjectReference(permanent, game)));
|
this.addEffect(new GuardianProjectEffect(new MageObjectReference(permanent, game)));
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue