Merge branch 'master' into 'master'

A somewhat better logic for Chandra, Bold Pyromancer +1 ability so the AI doesn't miss opportunities to use it.

See merge request core-developers/forge!1121
This commit is contained in:
Michael Kamensky
2018-11-20 07:01:51 +00:00
2 changed files with 3 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ public class ManaEffectAi extends SpellAbilityAi {
protected boolean checkAiLogic(Player ai, SpellAbility sa, String aiLogic) {
if ("ManaRitual".equals(aiLogic)) {
return doManaRitualLogic(ai, sa);
} else if ("Always".equals(aiLogic)) {
return true;
}
return super.checkAiLogic(ai, sa, aiLogic);
}