rctapi-fabric-1.21.1-0.16.1-beta.jar
Curse Maven Snippet
What's new
Changelog
[0.16.1-beta] - 2026-09-14
Added:
- #134
GsonUtil: Static helpers to create preconfigured GSON instances
Changed:
- #133 Added very basic scripting support to
rctbattle AI. The configuration now has a new property,battleScript, a list of actions to perform in the provided order:- Available actions are:
move:<moveId>(showdown move id, e.g.tackle),switch:<position>(0-5) anditem:<itemId>(showdown item name, e.g.potionorx_attack) - If the
<type>:prefix is ommitted a<moveId>is assumed - Targets are chosen based of the default AI evaluation
- The AI will fallback to its usual behaviour if a scripted action was not possible (e.g. a pokemon does not have the selected move) or all scripted actions have been performed
- There is no validation if an action succeeded (e.g. it is not possible to distinguish if a move hit or not)
- Available actions are:
Fixed:
- #132 Battle softlocks caused by pokemon fainting on both sides
This mod has no additional files
