Battle States Not Working Right

I'm using the Progressive States plugin from HimeWorks, and also have Yanfly's Battle Engine Core, Message Core, and Animated SV Battlers plugins active.

I'm having issues with all of my in battle states attached to skills.  I've created a reflection state and a progressive doom/death state.  Neither are working.  The reflection state used to work, but now the reflection effect doesn't actually reflect.  The animation plays, and it shows that the state is active, but magic still hits the actor like normal.

For the doom/death state, the doom portion works correctly, showing the state and taking damage for 3 turns.  At the end of the 3 turns, it's supposed to progress to a death state, which is the knockout state.  Even with the percentage at 100%, the state simply wears off in stead of progressing.

I installed the Hime Yanfly Progressive State patch in the hopes that it was a conflict, but no such luck.

Spoiler
States issue 1.png



States issue 2.png


States issue 3.png


States issue 4.png


States issue 5.png
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.



Please check and change the order in which the plugins are installed - that can make a difference
@Andar, I'll try to be more aware.  I don't honestly know if the issue is a plugin issue, or something on my part.  Thanks.
You don't have Yanfly's ATB plugin, so the HIME one that works off that may be malfunctioning.  Try removing that state and see if that helps.


Personally, I'd use Yanfly's Buffs & States Core to create this type of effect.  If you'd rather try that approach, this custom notetag should do the trick:


<Custom Leave Effect>


user.hp = 0;


</Custom Leave Effect>


Leave effects only trigger if the state fades by running out of turns.


As for the Reflect state, you mentioned that it worked at one point.  When did it stop working?  Try to recall that and go from there.
@shockra The reflect state seems to only work for spells cast at all enemies.  I don't understand it at all.  It worked the first time I playtested it, then never again.


And even using yan's buffs and states plugin, I can't get doom to work right.

I am an MV failure. 🙁   I'll keep at it.  Maybe play some FF XV in the meantime to decompress.
Magic Reflection can be tricky.  Yanfly's Counter Control plugin makes it a little easier to control the effect.


As for the Doom effect, the code I gave was a rough representation of what to do.  Maybe I got it wrong.  A lot of the more complex skills I've created in the past required a lot of trial and error, so keep at it.  Perhaps the Doom effect was more like this:


<Custom Leave Effect>


user.addState(1);


</Custom Leave Effect>


Maybe try posting the code and plugin list again?  I feel like something is in conflict.  If you kept the HIME Progressive States after adding Yanfly's Buff/State Core, that may be the issue.
Yanfly has a DOOM state tutorial!








Tadaaaa! 


At least, I'm assuming this'll work for your game. Not too sure about how exactly you want the particulars to be taken care of, but I think this is a great starting place. 😀
@ashikai Thank you!  Using the code from the tips and tricks I was able to get the doom state to work perfectly!  I REALLY need to learn JS in a hurry, because it would make life easier to understand WHY it worked.  Looks like I'm resuming my time with CodeAcademy ASAP.

Still trying to figure out the Reflection bit, but just having the other part fixed is a huge load off of my mind.  Thanks to everyone for the help!
You're welcome~


Yanfly has a magic reflection plugin too! ...at least for elemental reflection. http://yanfly.moe/2016/06/10/yep-107-element-core-rpg-maker-mv/


Gotta use the Element core + notetag, but it's super simple to set up. 😀
You'll all be happy to know that I'm the world's biggest idiot.  Guess who had most of their magic skills set to certain hit and saw it a million times and didn't notice because the skill type was magic?

Yea, it was me.  Reflection skill is fixed.  Remember kids, sometimes the best answer is the simplest answer.
Haha! That happens to me alllllll the time. But glad you got everything working! ^0^/
It's always something little that gets people...I've fallen for things like that too.  I'm guessing we all have at some point.

Original thread: https://forums.rpgmakerweb.com/threads/battle-states-not-working-right.73479/