mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'explo' into 'master'
Fix Explosive Singularity not being castable when no untapped creature See merge request core-developers/forge!6370
This commit is contained in:
@@ -94,12 +94,12 @@ public class CreatureEvaluator implements Function<Card, Integer> {
|
||||
if (c.hasKeyword(Keyword.VIGILANCE)) {
|
||||
value += addValue((power * 5) + (toughness * 5), "vigilance");
|
||||
}
|
||||
if (c.hasKeyword(Keyword.WITHER)) {
|
||||
value += addValue(power * 10, "Wither");
|
||||
}
|
||||
if (c.hasKeyword(Keyword.INFECT)) {
|
||||
value += addValue(power * 15, "infect");
|
||||
}
|
||||
else if (c.hasKeyword(Keyword.WITHER)) {
|
||||
value += addValue(power * 10, "Wither");
|
||||
}
|
||||
value += addValue(c.getKeywordMagnitude(Keyword.RAMPAGE), "rampage");
|
||||
value += addValue(c.getKeywordMagnitude(Keyword.AFFLICT) * 5, "afflict");
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ public class CostTapType extends CostPartWithList {
|
||||
}
|
||||
|
||||
final int amount = this.getAbilityAmount(ability);
|
||||
return typeList.size() != 0 && typeList.size() >= amount;
|
||||
return typeList.size() >= amount;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
||||
Reference in New Issue
Block a user