Changes
- ui: wait renamed to ui: timer. Added a non-blocking mode. Very importantly, this allows execution of code outside of normal call stacks. See the article:
Timer
- Major optimizations to AI:
- RECURSIVE_REQUESTS_LIMIT: New Config AI option. How many additional moves to consider after the first request. When a request turns into another request, for example when playing a card on board requires another decision branch such as choose a target to deal damage to, the number of decisions to consider is limited by this number. Lowering this number means the number of possibilities is cut off, for example, setting this number to 5 will cause any unit that deals damage on invoke to only consider the first 5 potential targets as possibilities, ignoring the rest.
- playSim time is always shown in test games in the console.
- Strengthen the AI_AUTOMATIC_SCALING to make it scale more. When the AI has a lot of moves to do late in the game, it grows increasingly stupider at a faster rate
- MOVES_AHEAD used to be capped at minimum to 2, meaning the AI never cases to think at least 1 move ahead, now if there are too many moves to consider and it’s too slow, the AI will no longer think ahead at all.
- When the AI is placing things with drag and drop, it used to evaluate all positions equally. Now if the AI_AUTOMATIC_SCALING option is on, it’ll evaluate positions only if the AI_POSITION property is set on the card. And even then, it tests at most 3 random positions.
- Require shift key to right-click dedent.
- Custom action tooltips now include a link to the custom action card.
- Action column is always open when adding a new effect.
- New error messages on Apply undo error.
- Cloned cards no longer inserted into the deck by default
- If effects are long add and delete buttons are duplicated at the end
Fixes
- Fix bug with class excludes
- Fix that causes randoms to not be as random as they should be
- Fix formatting bug when adding new effect lines