fix scripts and requires
parent
f7de6a3a75
commit
42190a47eb
|
@ -7,4 +7,4 @@ rarity=C
|
|||
type=Instant
|
||||
cost={3}{U}
|
||||
timing=removal
|
||||
requires_card_code=Time Ebb
|
||||
requires_groovy_code=Time Ebb
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
final MagicPlayer player,
|
||||
final MagicPowerToughness pt) {
|
||||
// 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);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
MagicTargetChoice.POS_TARGET_CREATURE,
|
||||
MagicPumpTargetPicker.create(),
|
||||
this,
|
||||
"Target creature$ gets +" + amount + "/+" + amount + " until end of turn."
|
||||
"Target creature\$ gets +" + amount + "/+" + amount + " until end of turn."
|
||||
);
|
||||
}
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue