mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
* Armageddon Clock - Fixed that no doom counters were added (fixes #4480).
This commit is contained in:
parent
82e104f9df
commit
9b873d7aa4
3 changed files with 7 additions and 5 deletions
|
|
@ -25,7 +25,7 @@ public class AmmitEternal extends CardImpl {
|
|||
|
||||
// Afflict 3 (Whenever this creature becomes blocked, defending player loses 3 life.)
|
||||
this.addAbility(new AfflictAbility(3));
|
||||
|
||||
|
||||
// Whenever an opponent casts a spell, put a -1/-1 counter on Ammit Eternal.
|
||||
this.addAbility(new SpellCastOpponentTriggeredAbility(new AddCountersSourceEffect(CounterType.M1M1.createInstance()), false));
|
||||
|
||||
|
|
@ -37,6 +37,7 @@ public class AmmitEternal extends CardImpl {
|
|||
super(ammitEternal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AmmitEternal copy() {
|
||||
return new AmmitEternal(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,9 +54,10 @@ public class ArmageddonClock extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{6}");
|
||||
|
||||
// At the beginning of your upkeep, put a doom counter on Armageddon Clock.
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.DOOM.createInstance(), new StaticValue(1), true, true), TargetController.YOU, false));
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.DOOM.createInstance(), new StaticValue(1), true), TargetController.YOU, false));
|
||||
// At the beginning of your draw step, Armageddon Clock deals damage equal to the number of doom counters on it to each player.
|
||||
this.addAbility(new BeginningOfDrawTriggeredAbility(new DamagePlayersEffect(Outcome.Damage, new CountersSourceCount(CounterType.DOOM)), TargetController.YOU, false));
|
||||
this.addAbility(new BeginningOfDrawTriggeredAbility(new DamagePlayersEffect(Outcome.Damage, new CountersSourceCount(CounterType.DOOM))
|
||||
.setText("{this} deals damage equal to the number of doom counters on it to each player"), TargetController.YOU, false));
|
||||
// {4}: Remove a doom counter from Armageddon Clock. Any player may activate this ability but only during any upkeep step.
|
||||
ActivatedAbilityImpl ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD,
|
||||
new RemoveCounterSourceEffect(CounterType.DOOM.createInstance()), new ManaCostsImpl("{4}"), new IsStepCondition(PhaseStep.UPKEEP, false),
|
||||
|
|
|
|||
|
|
@ -56,13 +56,13 @@ import mage.watchers.Watcher;
|
|||
public class BoseijuWhoSheltersAll extends CardImpl {
|
||||
|
||||
public BoseijuWhoSheltersAll(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
|
||||
// Boseiju, Who Shelters All enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// {tap}, Pay 2 life: Add {C} to your mana pool. If that mana is spent on an instant or sorcery spell, that spell can't be countered by spells or abilities.
|
||||
// {T}, Pay 2 life: Add {C} to your mana pool. If that mana is spent on an instant or sorcery spell, that spell can't be countered by spells or abilities.
|
||||
Mana mana = Mana.ColorlessMana(1);
|
||||
mana.setFlag(true); // used to indicate this mana ability
|
||||
SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, mana, new TapSourceCost());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue