What it does:
- Allows the option of using TGR to determine a target, when using the param option.
- Enemies using this param will target the actor with the TGR that matches the param check. (highest or lowest)
- I'm not sure if enemies have a TGR rate, so if it's used to determine an ally, it might not work
How to use it:
- When you are setting a target for an action in the AI, use either highest or lowest, and TGR (as if you were doing HP or MP, or another parameter).
Example:
In the above example, if the random check doesn't pass, it will always attack the target with the lowest TGR.
What is TGR, and why do I care?
- TGR is RMMV's built in 'threat' system. A higher value makes you more likely to be targeted by the default AI.
- Without an ability to take TGR into account, the only way to use it is to have the enemy randomly attack through the AI plugin.
- This addon allows you to get it to function more like it was originally intended. You can set 'dumb' enemies to target your high TGR tank, while smarter enemies may target lowest TGR support characters. Attacks that don't specify a target will, by default use TGR to determine the target, as the default AI would in the same situation.
Terms of use:
- Abide by the terms of yanfly's plugins.
View attachment YEP_X_BattleAITGRAddon.js