Fix DiesCreatureTriggeredAbility tooltip text

This commit is contained in:
Fenhl 2016-04-14 10:40:41 +00:00
parent 41ba4c9540
commit 503c041976

View file

@ -23,12 +23,12 @@ public class DiesCreatureTriggeredAbility extends TriggeredAbilityImpl {
} }
public DiesCreatureTriggeredAbility(Effect effect, boolean optional, boolean another) { 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()); filter.add(new AnotherPredicate());
} }
public DiesCreatureTriggeredAbility(Effect effect, boolean optional, boolean another, boolean setTargetPointer) { 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()); filter.add(new AnotherPredicate());
this.setTargetPointer = setTargetPointer; this.setTargetPointer = setTargetPointer;
} }