Hello everyone,
I have a problem with a skill I created and the way the targeting for it works.
Main plugins that probably affect the problem:
Yanfly Battle AI Core
www.yanfly.moe
Yanfly Target Core
www.yanfly.moe
Yanfly Selection Control
www.yanfly.moe
I use a bunch of Yanfly plugins, but the problem only appears if I use the Notetag "Not User" for a skill by Yanfly's Selection Control.
I have an enemy that, if their hp gets low, will kill another enemy and gain some hp back. In order for the enemy to not target itself I had to use the Noteag "Not User".
In order for the Skill to only be used when the actors hp are low, I use the following Notetag from Yanfly's Battle AI Core:
<AI Priority>
User HP% param <= 50% +++ Troop Alive Members >= 1: Eat Mouse
</AI Priority>
Now the problem is:
If the Enemy with that skill is the only one left (Either because the other enemies were killed, or if the Enemy was alone from the start) I can no longer use any skills on them. Only skills that target other party members or the user themselves work.
But since the Target Scope of "Not User" is only for the skill, it shouldn't affect the Enemy itself, no?
I tested a couple of fights both in the Battle Test and my game itself, the problem occurs in both cases.
If I remove the skill or take away the Select Condition, it works fine. Though without the Select Condition the Enemy has a chance to use the skill on themselves.. which isn't what I want.
Does anyone have an idea on what I'm missing/doing wrong?
Here's the Plugin List:
And here the Selection Control paramters:
I have a problem with a skill I created and the way the targeting for it works.
Main plugins that probably affect the problem:
Yanfly Battle AI Core
Battle A.I. Core (YEP) - Yanfly.moe Wiki
Target Core (YEP) - Yanfly.moe Wiki
Selection Control (YEP) - Yanfly.moe Wiki
I use a bunch of Yanfly plugins, but the problem only appears if I use the Notetag "Not User" for a skill by Yanfly's Selection Control.
I have an enemy that, if their hp gets low, will kill another enemy and gain some hp back. In order for the enemy to not target itself I had to use the Noteag "Not User".
In order for the Skill to only be used when the actors hp are low, I use the following Notetag from Yanfly's Battle AI Core:
<AI Priority>
User HP% param <= 50% +++ Troop Alive Members >= 1: Eat Mouse
</AI Priority>
Now the problem is:
If the Enemy with that skill is the only one left (Either because the other enemies were killed, or if the Enemy was alone from the start) I can no longer use any skills on them. Only skills that target other party members or the user themselves work.
But since the Target Scope of "Not User" is only for the skill, it shouldn't affect the Enemy itself, no?
I tested a couple of fights both in the Battle Test and my game itself, the problem occurs in both cases.
If I remove the skill or take away the Select Condition, it works fine. Though without the Select Condition the Enemy has a chance to use the skill on themselves.. which isn't what I want.
Does anyone have an idea on what I'm missing/doing wrong?
Here's the Plugin List:
And here the Selection Control paramters: