mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix for Temporal Extortion
This commit is contained in:
@@ -1551,8 +1551,7 @@ public class AbilityUtils {
|
||||
boolean alreadyPaid = false;
|
||||
for (Player payer : allPayers) {
|
||||
if (unlessCost.equals("LifeTotalHalfUp")) {
|
||||
String halfup = Integer.toString((int) Math.ceil(payer.getLife() / 2.0));
|
||||
cost = new Cost("PayLife<" + halfup + ">", true);
|
||||
cost = new Cost("PayLife<Count$YourLifeTotal/HalfUp>", true);
|
||||
}
|
||||
alreadyPaid |= payer.getController().payCostToPreventEffect(cost, sa, alreadyPaid, allPayers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user