diff --git a/Mage.Sets/src/mage/sets/zendikar/BlazingTorch.java b/Mage.Sets/src/mage/sets/zendikar/BlazingTorch.java index ac42f2aff3..171d02c513 100644 --- a/Mage.Sets/src/mage/sets/zendikar/BlazingTorch.java +++ b/Mage.Sets/src/mage/sets/zendikar/BlazingTorch.java @@ -43,7 +43,7 @@ import mage.abilities.costs.CostImpl; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.GenericManaCost; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.CantBlockSourceEffect; +import mage.abilities.effects.RestrictionEffect; import mage.abilities.effects.common.continious.GainAbilityAttachedEffect; import mage.abilities.keyword.EquipAbility; import mage.cards.CardImpl; @@ -105,7 +105,8 @@ class BlazingTorchEvasionAbility extends EvasionAbility { public BlazingTorchEvasionEffect() { super(Duration.WhileOnBattlefield); @@ -115,6 +116,14 @@ class BlazingTorchEvasionEffect extends CantBlockSourceEffect { super(effect); } + @Override + public boolean applies(Permanent permanent, Ability source, Game game) { + if (permanent.getId().equals(source.getSourceId())) { + return true; + } + return false; + } + @Override public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) { return !blocker.hasSubtype("Vampire") && !blocker.hasSubtype("Zombie"); @@ -198,4 +207,4 @@ class BlazingTorchDamageEffect extends OneShotEffect { public void setSourceId(UUID sourceId) { this.sourceId = sourceId; } -} \ No newline at end of file +}