forked from External/mage
[ACR] Implement Havi, the All-Father
This commit is contained in:
parent
ac34d97987
commit
46aa2a043d
5 changed files with 119 additions and 17 deletions
|
|
@ -61,8 +61,12 @@ public class DiesThisOrAnotherTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return false;
|
||||
}
|
||||
// TODO: remove applyFilterOnSource workaround for Basri's Lieutenant
|
||||
return ((!applyFilterOnSource && zEvent.getTarget().getId().equals(this.getSourceId()))
|
||||
|| filter.match(zEvent.getTarget(), getControllerId(), this, game));
|
||||
if ((applyFilterOnSource || !zEvent.getTarget().getId().equals(this.getSourceId()))
|
||||
&& !filter.match(zEvent.getTarget(), getControllerId(), this, game)) {
|
||||
return false;
|
||||
}
|
||||
this.getEffects().setValue("creatureDied", zEvent.getTarget());
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue