merged new cards
commit
706869ea1e
|
@ -0,0 +1,64 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Tapping),
|
||||
"Tap"
|
||||
) {
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{3}{G}")
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.Negative("target artifact, creature, or land"),
|
||||
MagicTapTargetPicker.Tap,
|
||||
this,
|
||||
"Tap target artifact, creature, or land\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicTapAction(creature, true));
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Tapping),
|
||||
"Untap"
|
||||
) {
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{3}{G}")
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.Positive("target artifact, creature, or land"),
|
||||
MagicTapTargetPicker.Untap,
|
||||
this,
|
||||
"Untap target artifact, creature, or land\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicUntapAction(creature));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elder Druid
|
||||
url=http://magiccards.info/7e/en/238.html
|
||||
image=http://magiccards.info/scans/en/7e/238.jpg
|
||||
value=2.414
|
||||
rarity=R
|
||||
type=Creature
|
||||
subtype=Elf,Cleric,Druid
|
||||
cost={3}{G}
|
||||
pt=2/2
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,34 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Destroy"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostSacrificeEvent(source, "{1}{G}")
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.NEG_TARGET_ENCHANTMENT,
|
||||
new MagicDestroyTargetPicker(false),
|
||||
this,
|
||||
"Destroy target enchantment\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent permanent) {
|
||||
game.doAction(new MagicDestroyAction(permanent));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elf Replica
|
||||
url=http://magiccards.info/mi/en/167.html
|
||||
image=http://magiccards.info/scans/en/mi/167.jpg
|
||||
value=2.672
|
||||
rarity=C
|
||||
type=Artifact,Creature
|
||||
subtype=Elf
|
||||
cost={3}
|
||||
pt=2/2
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Life"
|
||||
) {
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicSacrificePermanentEvent(
|
||||
source,
|
||||
MagicTargetChoice.SACRIFICE_SAPROLING
|
||||
)
|
||||
];
|
||||
}
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
this,
|
||||
"PN gains 2 life."
|
||||
);
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicChangeLifeAction(event.getPlayer(),2));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Farmer
|
||||
url=http://magiccards.info/me2/en/156.html
|
||||
image=http://magiccards.info/scans/en/me2/156.jpg
|
||||
value=3.233
|
||||
rarity=R
|
||||
type=Creature
|
||||
subtype=Elf
|
||||
cost={1}{G}
|
||||
pt=0/2
|
||||
timing=main
|
||||
requires_groovy_code=Thallid;Elvish_Farmer
|
|
@ -0,0 +1,34 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Pump),
|
||||
"Prevent"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [new MagicTapEvent(source)];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.POS_TARGET_CREATURE_OR_PLAYER,
|
||||
MagicPreventTargetPicker.getInstance(),
|
||||
this,
|
||||
"Prevent the next 1 damage that would be dealt to target creature or player\$ this turn. " +
|
||||
"If that creature is green, prevent 2 damage instead."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTarget(game,new MagicTargetAction() {
|
||||
public void doAction(final MagicTarget target) {
|
||||
final int amount = (target.isCreature() && target.hasColor(MagicColor.Green)) ? 2 : 1;
|
||||
game.doAction(new MagicPreventDamageAction(target,amount));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Healer
|
||||
url=http://magiccards.info/ia/en/246.html
|
||||
image=http://magiccards.info/scans/en/ia/246.jpg
|
||||
value=2.406
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Elf,Cleric
|
||||
cost={2}{W}
|
||||
pt=1/2
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,32 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Pump),
|
||||
"Trample"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [new MagicPayManaCostEvent(source, "{G}")];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.POS_TARGET_CREATURE,
|
||||
MagicTrampleTargetPicker.create(),
|
||||
this,
|
||||
"Target creature\$ gains trample until end of turn."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicGainAbilityAction(creature,MagicAbility.Trample));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Herder
|
||||
url=http://magiccards.info/us/en/247.html
|
||||
image=http://magiccards.info/scans/en/us/247.jpg
|
||||
value=4.118
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Elf
|
||||
cost={G}
|
||||
pt=1/1
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,35 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Destroy"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{G/W}"),
|
||||
new MagicSacrificeEvent(source)
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.NEG_TARGET_ENCHANTMENT,
|
||||
new MagicDestroyTargetPicker(false),
|
||||
this,
|
||||
"Destroy target enchantment\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent permanent) {
|
||||
game.doAction(new MagicDestroyAction(permanent));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Hexhunter
|
||||
url=http://magiccards.info/shm/en/226.html
|
||||
image=http://magiccards.info/scans/en/shm/226.jpg
|
||||
value=4.032
|
||||
rarity=C
|
||||
type=Creature
|
||||
subtype=Elf,Shaman
|
||||
cost={G/W}
|
||||
pt=1/1
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,35 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Destroy"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{G}"),
|
||||
new MagicSacrificeEvent(source)
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.NEG_TARGET_ENCHANTMENT,
|
||||
new MagicDestroyTargetPicker(false),
|
||||
this,
|
||||
"Destroy target enchantment\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent permanent) {
|
||||
game.doAction(new MagicDestroyAction(permanent));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Lyrist
|
||||
url=http://magiccards.info/8e/en/242.html
|
||||
image=http://magiccards.info/scans/en/8e/242.jpg
|
||||
value=3.297
|
||||
rarity=U
|
||||
type=Creature
|
||||
subtype=Elf
|
||||
cost={G}
|
||||
pt=1/1
|
||||
timing=main
|
||||
requires_groovy_code
|
|
@ -0,0 +1,35 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Removal),
|
||||
"Destroy"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicPayManaCostTapEvent(source,"{G}"),
|
||||
new MagicSacrificeEvent(source)
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.NEG_TARGET_ARTIFACT,
|
||||
new MagicDestroyTargetPicker(false),
|
||||
this,
|
||||
"Destroy target artifact\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent permanent) {
|
||||
game.doAction(new MagicDestroyAction(permanent));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
name=Elvish Scrapper
|
||||
url=http://magiccards.info/8e/en/245.html
|
||||
image=http://magiccards.info/scans/en/8e/245.jpg
|
||||
value=3.295
|
||||
rarity=U
|
||||
type=Creature
|
||||
subtype=Elf
|
||||
cost={G}
|
||||
pt=1/1
|
||||
timing=main
|
||||
requires_groovy_code
|
Loading…
Reference in New Issue