mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Merge branch 'angel' into 'master'
Fix paying negative life See merge request core-developers/forge!4716
This commit is contained in:
@@ -198,8 +198,6 @@ public class HumanPlay {
|
||||
req.playAbility(!useOldTargets, false, true);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
private static int getAmountFromPart(CostPart part, Card source, SpellAbility sourceAbility) {
|
||||
String amountString = part.getAmount();
|
||||
return StringUtils.isNumeric(amountString) ? Integer.parseInt(amountString) : AbilityUtils.calculateAmount(source, amountString, sourceAbility);
|
||||
|
||||
Reference in New Issue
Block a user