mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
* Deity of Scars - Fixed that the enters the battlefield effect is now a replacement effect instead of a triggered effect.
This commit is contained in:
parent
cf4ada4417
commit
09017e7e3a
1 changed files with 10 additions and 5 deletions
|
@ -28,12 +28,9 @@
|
|||
package mage.sets.eventide;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
|
@ -41,6 +38,8 @@ import mage.abilities.effects.common.RegenerateSourceEffect;
|
|||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
|
@ -58,8 +57,14 @@ public class DeityOfScars extends CardImpl<DeityOfScars> {
|
|||
this.color.setBlack(true);
|
||||
this.power = new MageInt(7);
|
||||
this.toughness = new MageInt(7);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new AddCountersSourceEffect(CounterType.M1M1.createInstance(2))));
|
||||
|
||||
// Deity of Scars enters the battlefield with two -1/-1 counters on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.M1M1.createInstance(2))));
|
||||
|
||||
// {B/G}, Remove a -1/-1 counter from Deity of Scars: Regenerate Deity of Scars.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{B/G}"));
|
||||
ability.addCost(new RemoveCountersSourceCost(CounterType.M1M1.createInstance()));
|
||||
this.addAbility(ability);
|
||||
|
|
Loading…
Reference in a new issue