Fixed clones not triggering death ability of Old-Growth Troll (fixes #7601)

This commit is contained in:
Daniel Bomar 2021-02-19 15:49:25 -06:00
parent a8bda04daf
commit 238ab4fcc8
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 8 additions and 0 deletions

View file

@ -36,6 +36,9 @@ public class ConditionalInterveningIfTriggeredAbility extends TriggeredAbilityIm
*/
public ConditionalInterveningIfTriggeredAbility(TriggeredAbility ability, Condition condition, String text) {
super(ability.getZone(), null);
if (ability.isLeavesTheBattlefieldTrigger()) {
this.setLeavesTheBattlefieldTrigger(true);
}
this.ability = ability;
this.condition = condition;
this.abilityText = text;