* Fixed a bug in DealsDamageToACreatureTriggeredAbility (caused Stinkweed Imp (and other creatures) to trigger also from non combat damage).

This commit is contained in:
LevelX2 2015-04-25 01:17:20 +02:00
parent 15b993fcf6
commit f94497fac8

View file

@ -34,7 +34,6 @@ import mage.filter.common.FilterCreaturePermanent;
import mage.game.Game;
import mage.game.events.DamagedCreatureEvent;
import mage.game.events.GameEvent;
import mage.game.events.GameEvent.EventType;
import mage.game.permanent.Permanent;
import mage.target.targetpointer.FixedTarget;
@ -54,6 +53,8 @@ public class DealsDamageToACreatureTriggeredAbility extends TriggeredAbilityImpl
public DealsDamageToACreatureTriggeredAbility(Effect effect, boolean combatOnly, boolean optional, boolean setTargetPointer, FilterCreaturePermanent filter) {
super(Zone.BATTLEFIELD, effect, optional);
this.combatOnly = combatOnly;
this.filter = filter;
this.setTargetPointer = setTargetPointer;
}