mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Moved a comment.
This commit is contained in:
@@ -213,11 +213,11 @@ public class CreatureEvaluator implements Function<Card, Integer> {
|
|||||||
private int evaluateSpecialAbility(SpellAbility sa) {
|
private int evaluateSpecialAbility(SpellAbility sa) {
|
||||||
// Pump abilities
|
// Pump abilities
|
||||||
if (sa.getApi() == ApiType.Pump) {
|
if (sa.getApi() == ApiType.Pump) {
|
||||||
|
// Pump abilities that grant +X/+X to the card
|
||||||
if ("+X".equals(sa.getParam("NumAtt"))
|
if ("+X".equals(sa.getParam("NumAtt"))
|
||||||
&& "+X".equals(sa.getParam("NumDef"))
|
&& "+X".equals(sa.getParam("NumDef"))
|
||||||
&& !sa.usesTargeting()
|
&& !sa.usesTargeting()
|
||||||
&& (!sa.hasParam("Defined") || "Self".equals(sa.getParam("Defined")))) {
|
&& (!sa.hasParam("Defined") || "Self".equals(sa.getParam("Defined")))) {
|
||||||
// Pump abilities that grant +X/+X to the card
|
|
||||||
if (sa.getPayCosts() != null && sa.getPayCosts().hasOnlySpecificCostType(CostPayEnergy.class)) {
|
if (sa.getPayCosts() != null && sa.getPayCosts().hasOnlySpecificCostType(CostPayEnergy.class)) {
|
||||||
// Electrostatic Pummeler
|
// Electrostatic Pummeler
|
||||||
int initPower = getEffectivePower(sa.getHostCard());
|
int initPower = getEffectivePower(sa.getHostCard());
|
||||||
|
|||||||
Reference in New Issue
Block a user