added combat damage grow and damage grow to card script, converted cards

master
melvin 2011-11-21 19:30:10 +08:00
parent a95f5d8b6d
commit 4e2f11149a
5 changed files with 13 additions and 16 deletions

View File

@ -9,7 +9,5 @@ color=b
converted=4
cost={2}{B}{B}
pt=3/2
ability=flying,first strike,haste
ability=flying,first strike,haste,combat damage grow
timing=fmain
requires_card_code

View File

@ -10,5 +10,5 @@ converted=5
cost={3}{B}{G}
pt=6/6
timing=main
ability=regenerate {B}
ability=regenerate {B},damage grow
requires_card_code

View File

@ -1,8 +0,0 @@
package magic.card;
import magic.model.trigger.MagicTrigger;
import magic.model.trigger.MagicVeteranTrigger;
public class Mirri_the_Cursed {
public static final MagicTrigger T = new MagicVeteranTrigger(true);
}

View File

@ -16,8 +16,6 @@ import magic.model.event.MagicPayManaCostEvent;
import magic.model.event.MagicPermanentActivation;
import magic.model.event.MagicPlayAbilityEvent;
import magic.model.event.MagicTiming;
import magic.model.trigger.MagicTrigger;
import magic.model.trigger.MagicVeteranTrigger;
public class Spiritmonger {
public static final MagicPermanentActivation A = new MagicPermanentActivation(
@ -54,6 +52,4 @@ public class Spiritmonger {
game.doAction(new MagicPlayAbilityAction(permanent));
}
};
public static final MagicTrigger T = new MagicVeteranTrigger(false);
}

View File

@ -49,6 +49,7 @@ import magic.model.trigger.MagicLandfallPumpTrigger;
import magic.model.trigger.MagicSpecterTrigger;
import magic.model.trigger.MagicDieDrawCardTrigger;
import magic.model.trigger.MagicThiefTrigger;
import magic.model.trigger.MagicVeteranTrigger;
public enum MagicAbility {
@ -366,6 +367,16 @@ public enum MagicAbility {
card.add(new MagicThiefTrigger(true,false,1));
}
},
CombatDamageGrow("combat damage grow",10) {
public void addAbilityImpl(final MagicCardDefinition card, final String arg) {
card.add(new MagicVeteranTrigger(true));
}
},
DamageGrow("damage grow",10) {
public void addAbilityImpl(final MagicCardDefinition card, final String arg) {
card.add(new MagicVeteranTrigger(false));
}
},
None("",0);
public static final long PROTECTION_FLAGS=