diff --git a/incomplete/Bloodchief_Ascension.groovy b/release/Magarena/scripts/Bloodchief_Ascension.groovy similarity index 54% rename from incomplete/Bloodchief_Ascension.groovy rename to release/Magarena/scripts/Bloodchief_Ascension.groovy index fd9ce00a57..d05036e39f 100644 --- a/incomplete/Bloodchief_Ascension.groovy +++ b/release/Magarena/scripts/Bloodchief_Ascension.groovy @@ -1,35 +1,4 @@ [ - new MagicAtEndOfTurnTrigger() { - @Override - public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer eotPlayer) { - return (eotPlayer == permanent.getController().getOpponent() && - eotPlayer.lifeGained() <= -2) ? //Is this possible? - new MagicEvent( - permanent, - new MagicSimpleMayChoice( - MagicSimpleMayChoice.ADD_POS_COUNTER, - 1, - MagicSimpleMayChoice.DEFAULT_YES - ), - this, - "PN may\$ put a quest counter on SN." - ): - MagicEvent.NONE; - } - - @Override - public void executeEvent(final MagicGame game, final MagicEvent event) { - if (event.isYes()) { - game.doAction(new MagicChangeCountersAction( - event.getPermanent(), - MagicCounterType.Quest, - 1, - true - )); - } - } - }, - new MagicWhenOtherPutIntoGraveyardTrigger() { @Override public boolean accept(final MagicPermanent permanent, final MagicMoveCardAction act) { @@ -56,9 +25,9 @@ } @Override public void executeEvent(final MagicGame game, final MagicEvent event) { - if (event.isYes){ - game.doAction(new MagicChangeLifeAction(event.getPlayer(),2)); + if (event.isYes()){ game.doAction(new MagicChangeLifeAction(event.getPlayer().getOpponent(),-2)); + game.doAction(new MagicChangeLifeAction(event.getPlayer(),2)); } } } diff --git a/incomplete/Bloodchief_Ascension.txt b/release/Magarena/scripts/Bloodchief_Ascension.txt similarity index 78% rename from incomplete/Bloodchief_Ascension.txt rename to release/Magarena/scripts/Bloodchief_Ascension.txt index 7b7d07faa4..6b454cab10 100644 --- a/incomplete/Bloodchief_Ascension.txt +++ b/release/Magarena/scripts/Bloodchief_Ascension.txt @@ -4,6 +4,7 @@ value=2.500 rarity=R type=Enchantment cost={B} -timing=enchantment +ability=At the beginning of each end step, if an opponent lost 2 or more life this turn, you may put a quest counter on SN. +timing=main requires_groovy_code oracle=At the beginning of each end step, if an opponent lost 2 or more life this turn, you may put a quest counter on Bloodchief Ascension. Whenever a card is put into an opponent's graveyard from anywhere, if Bloodchief Ascension has three or more quest counters on it, you may have that player lose 2 life. If you do, you gain 2 life. diff --git a/release/Magarena/scripts_missing/Bloodchief_Ascension.txt b/release/Magarena/scripts_missing/Bloodchief_Ascension.txt deleted file mode 100644 index b4c43a3fac..0000000000 --- a/release/Magarena/scripts_missing/Bloodchief_Ascension.txt +++ /dev/null @@ -1,10 +0,0 @@ -name=Bloodchief Ascension -image=http://mtgimage.com/card/bloodchief%20ascension.jpg -value=2.500 -rarity=R -type=Enchantment -cost={B} -ability=At the beginning of each end step, if an opponent lost 2 or more life this turn, you may put a quest counter on SN.;\ - Whenever a card is put into an opponent's graveyard from anywhere, if SN has three or more quest counters on it, you may have that player lose 2 life. If you do, you gain 2 life. -timing=main -oracle=At the beginning of each end step, if an opponent lost 2 or more life this turn, you may put a quest counter on Bloodchief Ascension. Whenever a card is put into an opponent's graveyard from anywhere, if Bloodchief Ascension has three or more quest counters on it, you may have that player lose 2 life. If you do, you gain 2 life.