Merge pull request #1866 from fenhl/fix-death-trigger-text

Fix DiesCreatureTriggeredAbility tooltip text
This commit is contained in:
Derek M 2016-04-14 08:17:49 -04:00
commit 2018047aa1

View file

@ -23,12 +23,12 @@ public class DiesCreatureTriggeredAbility extends TriggeredAbilityImpl {
}
public DiesCreatureTriggeredAbility(Effect effect, boolean optional, boolean another) {
this(effect, optional, new FilterCreaturePermanent("another creature"));
this(effect, optional, new FilterCreaturePermanent(optional ? "another creature" : "a creature"));
filter.add(new AnotherPredicate());
}
public DiesCreatureTriggeredAbility(Effect effect, boolean optional, boolean another, boolean setTargetPointer) {
this(effect, optional, new FilterCreaturePermanent("another creature"));
this(effect, optional, new FilterCreaturePermanent(optional ? "another creature" : "a creature"));
filter.add(new AnotherPredicate());
this.setTargetPointer = setTargetPointer;
}