fix scripts and requires

master
melvin 2013-05-18 21:11:12 +08:00
parent f7de6a3a75
commit 42190a47eb
3 changed files with 3 additions and 3 deletions

View File

@ -7,4 +7,4 @@ rarity=C
type=Instant type=Instant
cost={3}{U} cost={3}{U}
timing=removal timing=removal
requires_card_code=Time Ebb requires_groovy_code=Time Ebb

View File

@ -6,7 +6,7 @@
final MagicPlayer player, final MagicPlayer player,
final MagicPowerToughness pt) { final MagicPowerToughness pt) {
// floor((x + 1) / 2) == ceil(x / 2) // floor((x + 1) / 2) == ceil(x / 2)
final int amount = (player.getOpponent().getLife() + 1) / 2; final int amount = (int)(player.getOpponent().getLife() + 1) / 2;
pt.set(amount,amount); pt.set(amount,amount);
} }
}, },

View File

@ -8,7 +8,7 @@
MagicTargetChoice.POS_TARGET_CREATURE, MagicTargetChoice.POS_TARGET_CREATURE,
MagicPumpTargetPicker.create(), MagicPumpTargetPicker.create(),
this, this,
"Target creature$ gets +" + amount + "/+" + amount + " until end of turn." "Target creature\$ gets +" + amount + "/+" + amount + " until end of turn."
); );
} }
@Override @Override