RPG Maker Forums

Ok this sounds kinda weird. I hope I can describe my problem as clear as possible.

I have a Spell: it's a fire shield. where the enemy gets damage when he attacks. I managed to implement it with a state, where the damage calculation is located.
Now my problem is there is a another spell which creates a state that protects enemies from physical hits. The state vanishes when the caster gets any kind of damage, this is implemented by the RPG-Maker MV standard function, which is applied for the example of the "sleeping" state as well.

There is one enemy in my game that uses the spell. A way to deal with him would be that you let him attack your fire shield. Now the problem is for some reason, the state won't go away although he takes damage. I assume it doesn't work when the enemy gets damage in his own turn at least it looks like that it doesn't count as "hit". Otherwise this works fine.

So what can I do now? I thought about removing the state of the enemy on the same site where the damage calculation for the fire shield state is located. This is made by a YanFly Plug-in: check this out for example:


I modified it but, I can't apply the remove state effect for some reason. How should it go? I can't use the same commands that I usually put in damage formulas, right?

Would be thankful for any help here.

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top