mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -45,20 +46,20 @@ import mage.target.common.TargetCreatureOrPlayer;
|
|||
public class AnnihilatingFire extends CardImpl {
|
||||
|
||||
public AnnihilatingFire(UUID ownerId) {
|
||||
super(ownerId, 85, "Annihilating Fire", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}{R}");
|
||||
this.expansionSetCode = "RTR";
|
||||
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());
|
||||
|
||||
// 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());
|
||||
}
|
||||
|
||||
// If a creature dealt damage this way would die this turn, exile it instead.
|
||||
this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
|
||||
}
|
||||
|
||||
public AnnihilatingFire(final AnnihilatingFire card) {
|
||||
super(card);
|
||||
public AnnihilatingFire(final AnnihilatingFire card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue