mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fixed Sac<X> costs with X=0.
This commit is contained in:
@@ -164,7 +164,10 @@ public class CostSacrifice extends CostPartWithList {
|
||||
c = AbilityFactory.calculateAmount(source, amount, ability);
|
||||
}
|
||||
}
|
||||
|
||||
if (c != null && 0 == c.intValue()) {
|
||||
payment.setPaidManaPart(this, true);
|
||||
return true;
|
||||
}
|
||||
CostUtil.setInput(CostSacrifice.sacrificeFromList(ability, payment, this, list, c));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user