add Bloodchief Ascension

master
ShawnieBoy 2014-08-31 00:53:22 +01:00
parent fb0a3839cf
commit d15e0e1c66
3 changed files with 4 additions and 44 deletions

View File

@ -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));
}
}
}

View File

@ -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.

View File

@ -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.