mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user