Add script for Gisela, Blade of Goldnight

master
Jericho Pumpkin 2013-10-21 19:25:51 +00:00
parent f484859ccc
commit 16ec736fec
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,17 @@
[
new MagicIfDamageWouldBeDealtTrigger(MagicTrigger.INCREASE_DAMAGE) {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicDamage damage) {
final int amount = damage.getAmount();
if (permanent.isEnemy(damage.getTarget())) {
// Generates no event or action.
damage.setAmount(amount * 2);
}else{
int half = (int) Math.ceil((double)amount / 2);
// Prevention effect.
damage.prevent(half);
}
return MagicEvent.NONE;
}
}
]

View File

@ -0,0 +1,12 @@
name=Gisela, Blade of Goldnight
url=http://magiccards.info/avr/en/209.html
image=http://magiccards.info/scans/en/avr/209.jpg
value=4.230
rarity=M
type=Legendary,Creature
subtype=Angel
cost={4}{R}{W}{W}
ability=flying;first strike
pt=5/5
timing=main
requires_groovy_code