Missing Card Scripts
parent
05019e2441
commit
9e4f70c939
|
@ -0,0 +1,9 @@
|
||||||
|
name=3/1 red Elemental Shaman creature token
|
||||||
|
image=http://magiccards.info/extras/token/duel-decks-jace-vs-chandra/elemental-shaman.jpg
|
||||||
|
value=3
|
||||||
|
token=Elemental Shaman
|
||||||
|
type=Creature
|
||||||
|
subtype=Elemental,Shaman
|
||||||
|
color=R
|
||||||
|
cost={0}
|
||||||
|
pt=3/1
|
|
@ -0,0 +1,43 @@
|
||||||
|
[
|
||||||
|
new MagicPermanentActivation(
|
||||||
|
[
|
||||||
|
MagicCondition.THRESHOLD_CONDITION,
|
||||||
|
],
|
||||||
|
new MagicActivationHints(MagicTiming.Removal),
|
||||||
|
"Damage"
|
||||||
|
) {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||||
|
return [
|
||||||
|
new MagicPayManaCostEvent(source,"{R}"),
|
||||||
|
new MagicTapEvent(source),
|
||||||
|
new MagicSacrificeEvent(source)
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||||
|
return new MagicEvent(
|
||||||
|
source,
|
||||||
|
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
|
||||||
|
new MagicDamageTargetPicker(2),
|
||||||
|
this,
|
||||||
|
"SN deals 2 damage to target creature or player\$."
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||||
|
event.processTarget(game, {
|
||||||
|
final MagicTarget target ->
|
||||||
|
final MagicDamage damage = new MagicDamage(
|
||||||
|
event.getSource(),
|
||||||
|
target,
|
||||||
|
2
|
||||||
|
);
|
||||||
|
game.doAction(new MagicDealDamageAction(damage));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Barbarian Ring
|
||||||
|
url=http://magiccards.info/pd2/en/28.html
|
||||||
|
image=http://mtgimage.com/card/barbarian%20ring.jpg
|
||||||
|
value=2.854
|
||||||
|
rarity=U
|
||||||
|
type=Land
|
||||||
|
mana=r2
|
||||||
|
ability=tap pain add mana {R}
|
||||||
|
timing=land
|
||||||
|
requires_groovy_code
|
|
@ -0,0 +1,23 @@
|
||||||
|
[
|
||||||
|
new MagicSpellCardEvent() {
|
||||||
|
@Override
|
||||||
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||||
|
return new MagicEvent(
|
||||||
|
cardOnStack,
|
||||||
|
MagicTargetChoice.TARGET_CREATURE,
|
||||||
|
MagicFlyingTargetPicker.getInstance(),
|
||||||
|
this,
|
||||||
|
"Target creature\$ gains flying until end of turn. Draw a card."
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||||
|
event.processTargetPermanent(game, {
|
||||||
|
final MagicPermanent creature ->
|
||||||
|
game.doAction(new MagicGainAbilityAction(creature,MagicAbility.Flying));
|
||||||
|
game.doAction(new MagicDrawAction(event.getPlayer()));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,9 @@
|
||||||
|
name=Cloak of Feathers
|
||||||
|
url=http://magiccards.info/po/en/45.html
|
||||||
|
image=http://mtgimage.com/card/cloak%20of%20feathers.jpg
|
||||||
|
value=3.536
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={U}
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code
|
|
@ -0,0 +1,24 @@
|
||||||
|
[
|
||||||
|
new MagicSpellCardEvent() {
|
||||||
|
@Override
|
||||||
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||||
|
return new MagicEvent(
|
||||||
|
cardOnStack,
|
||||||
|
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER,
|
||||||
|
new MagicDamageTargetPicker(3),
|
||||||
|
this,
|
||||||
|
"SN deals 3 damage to target creature or player\$." +
|
||||||
|
"Draw a card."
|
||||||
|
);
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||||
|
event.processTarget(game, {
|
||||||
|
final MagicTarget target ->
|
||||||
|
final MagicDamage damage=new MagicDamage(event.getSource(),target,3);
|
||||||
|
game.doAction(new MagicDealDamageAction(damage));
|
||||||
|
game.doAction(new MagicDrawAction(event.getPlayer()));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,9 @@
|
||||||
|
name=Ember Shot
|
||||||
|
url=http://magiccards.info/ju/en/87.html
|
||||||
|
image=http://mtgimage.com/card/ember%20shot.jpg
|
||||||
|
value=0.906
|
||||||
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
cost={6}{R}
|
||||||
|
timing=removal
|
||||||
|
requires_groovy_code
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Fiery Conclusion
|
||||||
|
url=http://magiccards.info/pc2/en/42.html
|
||||||
|
image=http://mtgimage.com/card/fiery%20conclusion.jpg
|
||||||
|
value=1.98
|
||||||
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
cost={1}{R}
|
||||||
|
effect=SN deals 5 damage to target creature.
|
||||||
|
timing=removal
|
||||||
|
requires_groovy_code=Bone Splinters
|
|
@ -0,0 +1,11 @@
|
||||||
|
name=Hearthcage Giant
|
||||||
|
url=http://magiccards.info/lw/en/174.html
|
||||||
|
image=http://mtgimage.com/card/hearthcage%20giant.jpg
|
||||||
|
value=3.018
|
||||||
|
rarity=U
|
||||||
|
type=Creature
|
||||||
|
subtype=Giant,Warrior
|
||||||
|
cost={6}{R}{R}
|
||||||
|
pt=5/5
|
||||||
|
ability=enters effect PN puts two 3/1 red Elemental Shaman creature tokens onto the battlefield.;pay Sacrifice an Elemental:Target Giant creature gets +3/+1 until end of turn.
|
||||||
|
timing=main
|
|
@ -0,0 +1,8 @@
|
||||||
|
[
|
||||||
|
new MagicAdditionalCost() {
|
||||||
|
@Override
|
||||||
|
public MagicEvent getEvent(final MagicSource source) {
|
||||||
|
return new MagicSacrificePermanentEvent(source, MagicTargetChoice.SACRIFICE_ARTIFACT);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Kuldotha Rebirth
|
||||||
|
url=http://magiccards.info/som/en/96.html
|
||||||
|
image=http://mtgimage.com/card/kuldotha%20rebirth.jpg
|
||||||
|
value=3.931
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={R}
|
||||||
|
effect=PN puts three 1/1 red Goblin creature tokens onto the battlefield.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code
|
|
@ -0,0 +1,9 @@
|
||||||
|
name=Leap
|
||||||
|
url=http://magiccards.info/sh/en/35.html
|
||||||
|
image=http://mtgimage.com/card/leap.jpg
|
||||||
|
value=4.057
|
||||||
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
cost={U}
|
||||||
|
timing=pump
|
||||||
|
requires_groovy_code=Cloak of Feathers
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Magma Rift
|
||||||
|
url=http://magiccards.info/zen/en/136.html
|
||||||
|
image=http://mtgimage.com/card/magma%20rift.jpg
|
||||||
|
value=1.872
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={2}{R}
|
||||||
|
effect=SN deals 5 damage to target creature.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code=Shard Volley
|
|
@ -0,0 +1,11 @@
|
||||||
|
name=Pontiff of Blight
|
||||||
|
url=http://magiccards.info/dgm/en/27.html
|
||||||
|
image=http://mtgimage.com/card/pontiff%20of%20blight.jpg
|
||||||
|
value=4.117
|
||||||
|
rarity=R
|
||||||
|
type=Creature
|
||||||
|
subtype=Zombie,Cleric
|
||||||
|
cost={4}{B}{B}
|
||||||
|
ability=extort;lord other creatures you control have extort
|
||||||
|
pt=2/7
|
||||||
|
timing=main
|
|
@ -0,0 +1,9 @@
|
||||||
|
name=Privileged Position
|
||||||
|
url=http://magiccards.info/rav/en/251.html
|
||||||
|
image=http://mtgimage.com/card/privileged%20position.jpg
|
||||||
|
value=4.49
|
||||||
|
rarity=R
|
||||||
|
type=Enchantment
|
||||||
|
cost={2}{G/W}{G/W}{G/W}
|
||||||
|
ability=lord other permanents you control have hexproof.
|
||||||
|
timing=enchantment
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Shrapnel Blast
|
||||||
|
url=http://magiccards.info/mma/en/129.html
|
||||||
|
image=http://mtgimage.com/card/shrapnel%20blast.jpg
|
||||||
|
value=4.357
|
||||||
|
rarity=U
|
||||||
|
type=Instant
|
||||||
|
cost={1}{R}
|
||||||
|
effect=SN deals 5 damage to target creature or player.
|
||||||
|
timing=removal
|
||||||
|
requires_groovy_code=Kuldotha Rebirth
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Skulltap
|
||||||
|
url=http://magiccards.info/sc/en/73.html
|
||||||
|
image=http://mtgimage.com/card/skulltap.jpg
|
||||||
|
value=3.3
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={1}{B}
|
||||||
|
effect=PN draws two cards.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code=Bone Splinters
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Tendrils of Despair
|
||||||
|
url=http://magiccards.info/wl/en/25.html
|
||||||
|
image=http://mtgimage.com/card/tendrils%20of%20despair.jpg
|
||||||
|
value=3.868
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={B}
|
||||||
|
effect=Target opponent discards two cards.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code=Bone Splinters
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Trash for Treasure
|
||||||
|
url=http://magiccards.info/mi/en/109.html
|
||||||
|
image=http://mtgimage.com/card/trash%20for%20treasure.jpg
|
||||||
|
value=4.027
|
||||||
|
rarity=R
|
||||||
|
type=Sorcery
|
||||||
|
cost={2}{R}
|
||||||
|
effect=Return target artifact card from your graveyard to the battlefield.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code=Kuldotha Rebirth
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Vivisection
|
||||||
|
url=http://magiccards.info/mbs/en/38.html
|
||||||
|
image=http://mtgimage.com/card/vivisection.jpg
|
||||||
|
value=2.706
|
||||||
|
rarity=C
|
||||||
|
type=Sorcery
|
||||||
|
cost={3}{U}
|
||||||
|
effect=PN draws three cards.
|
||||||
|
timing=main
|
||||||
|
requires_groovy_code=Bone Splinters
|
|
@ -0,0 +1,10 @@
|
||||||
|
name=Wicked Reward
|
||||||
|
url=http://magiccards.info/vi/en/25.html
|
||||||
|
image=http://mtgimage.com/card/wicked%20reward.jpg
|
||||||
|
value=3.024
|
||||||
|
rarity=C
|
||||||
|
type=Instant
|
||||||
|
cost={1}{B}
|
||||||
|
effect=Target creature gets +4/+2 until end of turn.
|
||||||
|
timing=removal
|
||||||
|
requires_groovy_code=Bone Splinters
|
Loading…
Reference in New Issue