- AI damage calculator now considers the following abilities:
- Storm Drain
- Water Absorb
- Dry Skin
- Volt Absorb
- Lightning Rod
- Motor Drive
- Earth Eater
- Well-Baked Body
- Flash Fire
- Sap Sipper
- Wonder Guard
- Fixed /trainers makebattle only being executable by a player
- Fixed cursor snapping to centre when switching screens in the setup GUI.
- Changed AI to consider the ability Levitate in its damage calculator.
- Fixed command permissions not acting separately.
- Changed command permissions to:
- "selfdot.trainers.reload" (/trainers reload)
- "selfdot.trainers.battle" (/trainers battle)
- "selfdot.trainers.makebattle" (/trainers makebattle)
- "selfdot.trainers.edit" (All other commands)
- "selfdot.op.trainers" will still allow all commands for now, but I recommend switching to using the other permissions.
- Fixed first time loading trainers from before 0.9.4 setting all held items to invalid values.
- Fixed trainer rolling a multi-target killing move causing a battle error.
- Fixed refmap conflicts which prevented the mod from loading with some other mods that don't name their refmaps.
- Added Generation 5 based trainer AI.
- Added sending out trainer pokemon.
- "/trainers makebattle <player> <trainer>" - If the command executor is a LivingEntity, it will send out the trainer's pokemon.
- "/trainers makebattle <player> <trainer> <trainerEntity>" - Can use a target selector to select the entity to send out the trainer's pokemon (must be a LivingEntity).
- Added "/trainers addpokemon <trainer> <pokemon>" to add a pokemon to a trainer's team.
- Added "/trainers addfromparty <trainer> <partySlot>" to add a pokemon from your party to a trainer's team.
- Added "/trainers add <name> <group>" to add a new trainer directly to a group.
- Removed additional tooltips from menu items (e.g. disc names).
- Added type, damage category and power tooltips to move icons in menu.
- Fixed HTML escaping in JSON strings ('=' becoming '\u003d').
- Fixed moves appearing multiple times in move select screen.
- Changed moves to be sorted alphabetically in move select screen.
- Added held items on trainer pokemon.
- Added "/trainers setcooldownseconds <trainer> <cooldownSeconds>" to set cooldowns for battling trainers.
- Fixed allowing starting a trainer battle with a fainted lead pokemon. Battles now start with the first non-fainted pokemon in the player's party.
- Fixed changing a trainer's group leaving a duplicate file in its old group directory.
- Fixed commands not being disabled when mod is in a corrupt state.
- Added separate permission node "selfdot.trainers.battle" for command /trainers battle
- Fixed new trainers not initialising with default data, resulting in a corrupt trainer file.