mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Renamed a method.
This commit is contained in:
@@ -187,7 +187,7 @@ public class CreatureEvaluator implements Function<Card, Integer> {
|
|||||||
|
|
||||||
for (final SpellAbility sa : c.getSpellAbilities()) {
|
for (final SpellAbility sa : c.getSpellAbilities()) {
|
||||||
if (sa.isAbility()) {
|
if (sa.isAbility()) {
|
||||||
value += addValue(evaluateSpecialAbility(sa), "sa: " + sa);
|
value += addValue(evaluateSpellAbility(sa), "sa: " + sa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!c.getManaAbilities().isEmpty()) {
|
if (!c.getManaAbilities().isEmpty()) {
|
||||||
@@ -210,7 +210,7 @@ public class CreatureEvaluator implements Function<Card, Integer> {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int evaluateSpecialAbility(SpellAbility sa) {
|
private int evaluateSpellAbility(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
|
// Pump abilities that grant +X/+X to the card
|
||||||
|
|||||||
Reference in New Issue
Block a user