- Minor cleanup and updating CHANGES.txt.

This commit is contained in:
Agetian
2018-02-18 11:29:02 +03:00
parent 1f922362a1
commit 4665503caa
3 changed files with 6 additions and 5 deletions

View File

@@ -504,8 +504,7 @@ public class AttachAi extends SpellAbilityAi {
// TODO : Skip this one if triggers on combat damage only?
for (SpellAbility sa2 : card.getSpellAbilities()) {
if ((sa2.getApi().equals(ApiType.DealDamage))
&& (sa2.getTargetRestrictions().canTgtPlayer())
) {
&& (sa2.getTargetRestrictions().canTgtPlayer())) {
thisprio += 300;
}
}

View File

@@ -209,9 +209,8 @@ public class CounterAi extends SpellAbilityAi {
if (sa.isAbility()
&& (!sa.getPayCosts().hasSpecificCostType(CostDiscard.class))
&& (!sa.getPayCosts().hasSpecificCostType(CostSacrifice.class))
&& (!sa.getPayCosts().hasSpecificCostType(CostExile.class))
// maybe also disallow CostPayLife?
) {
&& (!sa.getPayCosts().hasSpecificCostType(CostExile.class))) {
// TODO: maybe also disallow CostPayLife?
dontCounter = false;
}