r/RPGMaker • u/3dmariobros864 • 13d ago
RMMV Enemy reapplying status effects when already on.
So, I've resumed work on my project, and the next step is working on a series of three bosses hidden across the map, with me working on the first one. I've given it two abilities that apply a positive buff to it (one for physical defense and one for magic), set to become usable after it's health drops to 55%. Only problem is that it will still use those abilities even when they're already up, thus wasting a turn. Is there a way to make it so that they only use these if they aren't in effect?
2
Upvotes
1
u/Kermy89 13d ago
The best way to achieve this is using Yanfly Battle AI Core plugin. You can set more complex conditions for skill usage with notetags.
1
u/Alarmed-Mud-3461 13d ago
If it's just for a one-time enemy, you can do it in the troop event, no? Have the buff give an empty state (if it's not a state of its own), check for the state and only apply/reapply the buff if the state is not there. At least that's how I'd do it in VX Ace. (I'd do a force action instead of giving the boss a skill with the 55% health condition.)
1
u/zombietoaststudios 13d ago
I'm not sure why people are suggesting plugins for this.
Just have the states seal the skill that applies them.
1
u/Liamharper77 13d ago
Having two separate buff abilities complicates things a bit without plugins. Otherwise you could do the following.
Set the regular bosses toolkit to a low rating (let's say, 1)
Add one buff ability with the condition that the boss has 0-55% health, at rating 5
Add a second copy of the bosses toolkit, all with the condition that the boss has the buff, at rating 10
Now the boss will always use the buff skill when it isn't active and it's HP is 55% or below. Otherwise it'll use the regular toolkit.