mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Annihilating Fire - Added missing watcher for exile ability.
This commit is contained in:
parent
46ae07be23
commit
93964407d8
1 changed files with 12 additions and 11 deletions
|
@ -37,6 +37,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.Duration;
|
||||
import mage.constants.Rarity;
|
||||
import mage.target.common.TargetCreatureOrPlayer;
|
||||
import mage.watchers.common.DamagedByWatcher;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -48,13 +49,13 @@ public class AnnihilatingFire extends CardImpl {
|
|||
super(ownerId, 85, "Annihilating Fire", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}{R}");
|
||||
this.expansionSetCode = "RTR";
|
||||
|
||||
|
||||
// Annihilating Fire deals 3 damage to target creature or player.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(3));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
|
||||
|
||||
// If a creature dealt damage this way would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addWatcher(new DamagedByWatcher());
|
||||
}
|
||||
|
||||
public AnnihilatingFire(final AnnihilatingFire card) {
|
||||
|
|
Loading…
Reference in a new issue