added Darkthicket Wolf and Dead Weight

master
beholder 2011-09-25 11:53:53 +02:00
parent 74b9a13855
commit 4b68fd33cd
2 changed files with 72 additions and 0 deletions

View File

@ -4116,6 +4116,31 @@ converted=1
cost={U}
timing=aura
>Darkthicket Wolf
image=http://magiccards.info/scans/en/isd/175.jpg
value=2
rarity=C
type=Creature
subtype=Wolf
color=g
converted=2
cost={1}{G}
pt=2/2
timing=main
>Dead Weight
image=http://magiccards.info/scans/en/isd/96.jpg
value=3
removal=2
rarity=C
type=Enchantment
subtype=Aura
color=b
converted=1
cost={B}
given_pt=-2/-2
timing=removal
>Morkrut Banshee
image=http://magiccards.info/scans/en/isd/110.jpg
value=4

View File

@ -0,0 +1,47 @@
package magic.card;
import magic.model.MagicGame;
import magic.model.MagicManaCost;
import magic.model.MagicPayedCost;
import magic.model.MagicPermanent;
import magic.model.MagicSource;
import magic.model.action.MagicChangeTurnPTAction;
import magic.model.condition.MagicCondition;
import magic.model.event.MagicActivationHints;
import magic.model.event.MagicEvent;
import magic.model.event.MagicPayManaCostEvent;
import magic.model.event.MagicPermanentActivation;
import magic.model.event.MagicPlayAbilityEvent;
import magic.model.event.MagicTiming;
public class Darkthicket_Wolf {
public static final MagicPermanentActivation T = new MagicPermanentActivation(
new MagicCondition[]{MagicCondition.ABILITY_ONCE_CONDITION,MagicManaCost.TWO_GREEN.getCondition()},
new MagicActivationHints(MagicTiming.Pump),
"Pump") {
@Override
public MagicEvent[] getCostEvent(final MagicSource source) {
return new MagicEvent[]{
new MagicPayManaCostEvent(source,source.getController(),MagicManaCost.TWO_GREEN),
new MagicPlayAbilityEvent((MagicPermanent)source)};
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
source.getController(),
new Object[]{source},
this,
source + " gets +2/+2 until end of turn.");
}
@Override
public void executeEvent(
final MagicGame game,
final MagicEvent event,
final Object[] data,
final Object[] choiceResults) {
final MagicPermanent permanent=(MagicPermanent)data[0];
game.doAction(new MagicChangeTurnPTAction(permanent,2,2));
}
};
}