• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Deluxe Battle Kit [v21.1]

Resource Deluxe Battle Kit [v21.1] v1.3

Found a new error that I think is coming from DBK. When an enemy tries to use Flame Burst, the AI freaks out and throws up a bunch of errors.

[2026-02-20 10:16:02 -0800]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `battler' for #<Battle::Battler>

Backtrace:
004_AI_MoveEffects_MoveAttributes.rb:118:in `block (3 levels) in load_scripts_from_folder'
004_AI_MoveEffects_MoveAttributes.rb:117:in `each'
004_AI_MoveEffects_MoveAttributes.rb:117:in `block (2 levels) in load_scripts_from_folder'
005_Event_Handlers.rb:139:in `trigger'
001_Battle_AI.rb:111:in `apply_move_effect_against_target_score'
[Deluxe Battle Kit] [002] Misc Utilities.rb:533:in `pbGetMoveScoreAgainstTarget'
005_AI_ChooseMove.rb:245:in `block in pbGetMoveScore'
005_AI_ChooseMove.rb:242:in `each'
005_AI_ChooseMove.rb:242:in `pbGetMoveScore'
[Deluxe Battle Kit] [003] Command Menu Refactor.rb:522:in `block (3 levels) in pbGetMoveScores'
Flame Burst is just bugged. This has nothing to do with DBK.
 
How do the gimmicks interact with each other exactly ? Like if a trainer can use Mega-Evolution, Z-Moves, Dynamax and Terastallization, does its Pokemon can be Dynamaxed and terastallized at the same time, or any other combinations ?
 
How do the gimmicks interact with each other exactly ? Like if a trainer can use Mega-Evolution, Z-Moves, Dynamax and Terastallization, does its Pokemon can be Dynamaxed and terastallized at the same time, or any other combinations ?
They don't interact with each other. Each mechanic is as walled off from each other as I could possibly make them, so that no mechanic ever overlaps with another. You can use different mechanics for different Pokemon in the same team, but you can never use different mechanics on the same Pokemon. Only one mechanic can ever be active or available at a time, per Pokemon. The sole exception is Ultra Burst/Z-Moves, since Pokemon who enter Ultra Burst form are still capable of using Z-Moves, but not the others. So you can have Ultra Necrozma use a Z-Move, for example, but Ultra Necrozma would not be able to Terastallize.

As for how the game determines what's available for an individual Pokemon, it basically goes down the list of mechanics in order of priority, as such:

Primal Reversion > Ultra Burst > Z-Move > Mega Evolution > Dynamax > Terastallization

If one mechanic is available for a Pokemon in this priority list, then all other subsequent mechanics are not available. For example, if a Pokemon is able to Primal Revert, then NONE of the other mechanics are available. If a Pokemon has Mega Evolution available, then it will never have the option to Dynamax or Tera.

Terastallization always has the lowest priority (necessary, since the mechanic is the most widely-available with the least amount of requirements), so every other mechanic will out-prioritize it if multiple mechanics are available at once. This makes it a bit tricky to use alongside Dynamax, for example, since pretty much any time that both mechanics are available, Dynamax will take priority.

The respective guide for each mechanic explains how and when each mechanic is available, as well as how to set up enemy trainers to utilize them.
 
Back
Top