added Trespasser il-Vec and AEtherflame Wall
parent
e09725b0fa
commit
2840ffe731
|
@ -16223,3 +16223,30 @@ cost={1}{U}
|
|||
pt=1/2
|
||||
ability=shadow
|
||||
timing=main
|
||||
|
||||
>Trespasser il-Vec
|
||||
url=http://magiccards.info/ts/en/138.html
|
||||
image=http://magiccards.info/scans/en/ts/138.jpg
|
||||
value=2
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Human,Rogue
|
||||
color=b
|
||||
converted=3
|
||||
cost={2}{B}
|
||||
pt=3/1
|
||||
timing=main
|
||||
|
||||
>AEtherflame Wall
|
||||
url=http://magiccards.info/ts/en/142.html
|
||||
image=http://magiccards.info/scans/en/ts/142.jpg
|
||||
value=3
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Wall
|
||||
color=r
|
||||
converted=2
|
||||
cost={1}{R}
|
||||
pt=0/4
|
||||
ability=defender,can block creatures with shadow
|
||||
timing=smain
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
package magic.card;
|
||||
|
||||
import magic.model.MagicManaCost;
|
||||
import magic.model.event.MagicPermanentActivation;
|
||||
import magic.model.event.MagicPumpActivation;
|
||||
|
||||
public class AEtherflame_Wall {
|
||||
public static final MagicPermanentActivation A = new MagicPumpActivation(MagicManaCost.RED,1,0);
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
package magic.card;
|
||||
|
||||
import magic.model.MagicAbility;
|
||||
import magic.model.MagicGame;
|
||||
import magic.model.MagicPayedCost;
|
||||
import magic.model.MagicPermanent;
|
||||
import magic.model.MagicSource;
|
||||
import magic.model.action.MagicSetAbilityAction;
|
||||
import magic.model.condition.MagicCondition;
|
||||
import magic.model.event.MagicActivationHints;
|
||||
import magic.model.event.MagicDiscardEvent;
|
||||
import magic.model.event.MagicEvent;
|
||||
import magic.model.event.MagicPermanentActivation;
|
||||
import magic.model.event.MagicTiming;
|
||||
|
||||
public class Trespasser_il_Vec {
|
||||
public static final MagicPermanentActivation A = new MagicPermanentActivation(
|
||||
new MagicCondition[]{MagicCondition.HAS_CARD_CONDITION},
|
||||
new MagicActivationHints(MagicTiming.Pump,true,1),
|
||||
"Shadow") {
|
||||
@Override
|
||||
public MagicEvent[] getCostEvent(final MagicSource source) {
|
||||
return new MagicEvent[]{
|
||||
new MagicDiscardEvent(source,source.getController(),1,false)
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
source.getController(),
|
||||
new Object[]{source},
|
||||
this,
|
||||
source + " gains shadow until end of turn.");
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(
|
||||
final MagicGame game,
|
||||
final MagicEvent event,
|
||||
final Object[] data,
|
||||
final Object[] choiceResults) {
|
||||
game.doAction(new MagicSetAbilityAction((MagicPermanent)data[0],MagicAbility.Shadow));
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue