mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Minor cleanup and updating CHANGES.txt.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user