Changelog
[0.10.5-beta] - 2025-01-07
Added:
- #16 Methods for initialization and retrieval of different
RCTApi
instances by id or in bulk (fallback toRCTApi#DEFAULT_INSTANCE
)RCTApi#getInstance(String)
RCTApi#getInstances()
RCTApi#initInstance(String)
RCTApi#initInstance(String, TrainerRegistry)
RCTApi#initInstance(String, TrainerRegistry, BattleManager)
- #15 Methods to retrieve
Trainer
s from theTrainerRegistry
by the original trainer (OT) of a givenPokemon
TrainerRegistry#getByOT(Pokemon)
TrainerRegistry#getByOT(Pokemon, Class<T>)
Deprecated:
- #14
RCTApi#init()
use new methods instead (see #16)
Changelog
[0.10.0-beta] - 2024-12-09
Added
- Added ai configs
RCTBattleAIConfig
,SelfdotGen5AIConfig
,StrongBattleAIConfig
and registered correspondingJTO
parsers (rct
,sd5
andcbl
) - Generic
JTO
(json to object) flexible parser system
Removed
AIType
enum (TrainerModel.ai
is now defined asJTO<BattleAI>
)
Changelog
[0.9.1-beta] - 2024-12-09
Changed
RCTBattleAI
adjustments/fixes: improved switch evaluation + trainers now actually consider the use of (mostly healing) items
Fixed
- Issues with
RCTBattleAI
and switch instructions potentially causing softlocks as well as some other corner cases that could cause a battle failure (this might not fixed all issues but it appeared rather stable now during my testings)