mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- AnimateAllAi: implement an "Always" logic hook for cards that are generally beneficial to activate.
This commit is contained in:
@@ -8,6 +8,10 @@ public class AnimateAllAi extends SpellAbilityAi {
|
||||
|
||||
@Override
|
||||
protected boolean canPlayAI(Player aiPlayer, SpellAbility sa) {
|
||||
if ("Always".equals(sa.getParam("AILogic"))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
} // end animateAllCanPlayAI()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user