added Shivan Hellkite, Skyhunter Skirmisher, Skyhunter Prowler, Skyhunter Patrol
parent
70e6f3989d
commit
e7f91f20c2
|
@ -1,3 +1,55 @@
|
||||||
|
>Skyhunter Patrol
|
||||||
|
image=http://magiccards.info/scans/en/10e/41.jpg
|
||||||
|
value=3
|
||||||
|
rarity=C
|
||||||
|
type=Creature
|
||||||
|
subtype=Cat,Knight
|
||||||
|
color=w
|
||||||
|
converted=4
|
||||||
|
cost={2}{W}{W}
|
||||||
|
pt=2/3
|
||||||
|
ability=flying,first strike
|
||||||
|
timing=main
|
||||||
|
|
||||||
|
>Skyhunter Prowler
|
||||||
|
image=http://magiccards.info/scans/en/10e/42.jpg
|
||||||
|
value=3
|
||||||
|
rarity=C
|
||||||
|
type=Creature
|
||||||
|
subtype=Cat,Knight
|
||||||
|
color=w
|
||||||
|
converted=3
|
||||||
|
cost={2}{W}
|
||||||
|
pt=1/3
|
||||||
|
ability=flying,vigilance
|
||||||
|
timing=main
|
||||||
|
|
||||||
|
>Skyhunter Skirmisher
|
||||||
|
image=http://magiccards.info/scans/en/10e/43.jpg
|
||||||
|
value=2
|
||||||
|
rarity=U
|
||||||
|
type=Creature
|
||||||
|
subtype=Cat,Knight
|
||||||
|
color=w
|
||||||
|
converted=3
|
||||||
|
cost={1}{W}{W}
|
||||||
|
pt=1/1
|
||||||
|
ability=flying,double strike
|
||||||
|
timing=main
|
||||||
|
|
||||||
|
>Shivan Hellkite
|
||||||
|
image=http://magiccards.info/scans/en/10e/231.jpg
|
||||||
|
value=5
|
||||||
|
rarity=R
|
||||||
|
type=Creature
|
||||||
|
subtype=Dragon
|
||||||
|
color=r
|
||||||
|
converted=7
|
||||||
|
cost={5}{R}{R}
|
||||||
|
pt=5/5
|
||||||
|
ability=flying
|
||||||
|
timing=main
|
||||||
|
|
||||||
>Seedborn Muse
|
>Seedborn Muse
|
||||||
image=http://magiccards.info/scans/en/10e/296.jpg
|
image=http://magiccards.info/scans/en/10e/296.jpg
|
||||||
value=4
|
value=4
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
package magic.card;
|
||||||
|
|
||||||
|
import magic.model.MagicDamage;
|
||||||
|
import magic.model.MagicGame;
|
||||||
|
import magic.model.MagicManaCost;
|
||||||
|
import magic.model.MagicPayedCost;
|
||||||
|
import magic.model.MagicPermanent;
|
||||||
|
import magic.model.MagicSource;
|
||||||
|
import magic.model.action.MagicDealDamageAction;
|
||||||
|
import magic.model.action.MagicTargetAction;
|
||||||
|
import magic.model.choice.MagicTargetChoice;
|
||||||
|
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.MagicTiming;
|
||||||
|
import magic.model.target.MagicDamageTargetPicker;
|
||||||
|
import magic.model.target.MagicTarget;
|
||||||
|
|
||||||
|
public class Shivan_Hellkite {
|
||||||
|
public static final MagicPermanentActivation A = new MagicPermanentActivation(
|
||||||
|
new MagicCondition[]{MagicManaCost.ONE_RED.getCondition()},
|
||||||
|
new MagicActivationHints(MagicTiming.Removal),
|
||||||
|
"Damage") {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MagicEvent[] getCostEvent(final MagicSource source) {
|
||||||
|
return new MagicEvent[]{new MagicPayManaCostEvent(source,source.getController(),MagicManaCost.ONE_RED)};
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||||
|
return new MagicEvent(
|
||||||
|
source,
|
||||||
|
source.getController(),
|
||||||
|
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
|
||||||
|
new MagicDamageTargetPicker(1),
|
||||||
|
new Object[]{source},
|
||||||
|
this,
|
||||||
|
source + " deals 1 damage to target creature or player$.");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] data,final Object[] choiceResults) {
|
||||||
|
event.processTarget(game,choiceResults,0,new MagicTargetAction() {
|
||||||
|
public void doAction(final MagicTarget target) {
|
||||||
|
final MagicDamage damage=new MagicDamage((MagicSource)data[0],target,1,false);
|
||||||
|
game.doAction(new MagicDealDamageAction(damage));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue