AbilityUtils: make "OppNon" more generic to allow "OppNonParentTarget"

add "The Fate of the Flammable", "May Civilization Collapse", "Feed the Machine" and "Surrender Your Thoughts"
update ChooseGenericEffectAI, currently it does prefer others over self, even if targeted wouldn't hurt target player.
This commit is contained in:
Hanmac
2016-06-11 18:39:32 +00:00
parent 7f82601190
commit fda1cbb88b
7 changed files with 50 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class ChooseGenericEffectAi extends SpellAbilityAi {
}
}
return spells.get(0);
} else if ("Khans".equals(logic) || "Dragons".equals(logic)) { // Fate Reforged sieges
} else if ("Khans".equals(logic) || "Dragons".equals(logic) || "Self".equals(logic) || "Others".equals(logic)) { // Fate Reforged sieges
for (final SpellAbility sp : spells) {
if (sp.getDescription().equals(logic)) {
return sp;