[ACR] Implement Havi, the All-Father

This commit is contained in:
theelk801 2025-04-23 09:55:01 -04:00
parent ac34d97987
commit 46aa2a043d
5 changed files with 119 additions and 17 deletions

View file

@ -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