* Obstinate Baloth - Fixed a bug that EntersBattlefieldTriggeredAbilities did not work if the triggering creature entered and left the battlefield during the resolution of an effect (#606).

This commit is contained in:
LevelX2 2014-10-23 19:55:44 +02:00
parent cc6f1f0010
commit e244f5d87f
2 changed files with 31 additions and 2 deletions

View file

@ -56,7 +56,7 @@ public class EntersBattlefieldTriggeredAbility extends TriggeredAbilityImpl {
}
public EntersBattlefieldTriggeredAbility(Effect effect, boolean optional, String rulePrefix) {
super(Zone.BATTLEFIELD, effect, optional);
super(Zone.ALL, effect, optional); // Zone.All because a creature with trigger can be put into play and be sacrificed during the resolution of an effect (discard Obstinate Baloth with Smallpox)
this.rulePrefix = rulePrefix;
}