added Spectral Rider and Spidery Grasp. corrected Somberwald Spider
parent
1b56f4748c
commit
e021be3daf
|
@ -5002,6 +5002,7 @@ color=g
|
|||
converted=5
|
||||
cost={4}{G}
|
||||
pt=2/4
|
||||
ability=reach
|
||||
timing=main
|
||||
|
||||
>Spectral Flight
|
||||
|
@ -5016,3 +5017,26 @@ cost={1}{U}
|
|||
given_pt=2/2
|
||||
given_ability=flying
|
||||
timing=aura
|
||||
|
||||
>Spectral Rider
|
||||
image=http://magiccards.info/scans/en/isd/35.jpg
|
||||
value=3
|
||||
rarity=U
|
||||
type=Creature
|
||||
subtype=Spirit,Knight
|
||||
color=w
|
||||
converted=2
|
||||
cost={W}{W}
|
||||
pt=2/2
|
||||
ability=intimidate
|
||||
timing=main
|
||||
|
||||
>Spidery Grasp
|
||||
image=http://magiccards.info/scans/en/isd/204.jpg
|
||||
value=3
|
||||
rarity=C
|
||||
type=Instant
|
||||
color=g
|
||||
converted=3
|
||||
cost={2}{G}
|
||||
timing=tapping
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
package magic.card;
|
||||
|
||||
import magic.model.MagicAbility;
|
||||
import magic.model.MagicGame;
|
||||
import magic.model.MagicPayedCost;
|
||||
import magic.model.MagicPermanent;
|
||||
import magic.model.action.MagicChangeTurnPTAction;
|
||||
import magic.model.action.MagicMoveCardAction;
|
||||
import magic.model.action.MagicPermanentAction;
|
||||
import magic.model.action.MagicSetAbilityAction;
|
||||
import magic.model.action.MagicUntapAction;
|
||||
import magic.model.choice.MagicTargetChoice;
|
||||
import magic.model.event.MagicEvent;
|
||||
import magic.model.event.MagicSpellCardEvent;
|
||||
import magic.model.stack.MagicCardOnStack;
|
||||
import magic.model.target.MagicPumpTargetPicker;
|
||||
|
||||
public class Spidery_Grasp {
|
||||
public static final MagicSpellCardEvent S = new MagicSpellCardEvent() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
cardOnStack.getCard(),
|
||||
cardOnStack.getController(),
|
||||
MagicTargetChoice.POS_TARGET_CREATURE,
|
||||
MagicPumpTargetPicker.getInstance(),
|
||||
new Object[]{cardOnStack},
|
||||
this,
|
||||
"Untap target creature$. It gets +2/+4 " +
|
||||
"and gains reach until end of turn.");
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(
|
||||
final MagicGame game,
|
||||
final MagicEvent event,
|
||||
final Object[] data,
|
||||
final Object[] choiceResults) {
|
||||
game.doAction(new MagicMoveCardAction((MagicCardOnStack)data[0]));
|
||||
event.processTargetPermanent(game,choiceResults,0,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicUntapAction(creature));
|
||||
game.doAction(new MagicChangeTurnPTAction(creature,2,4));
|
||||
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.Reach));
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue