Custom States not Applying?

So, the states I've made that take the same slots as the regular states (I replaced the poison, for example) work, but after I had to expand the maximum number, when I add the new skills to my list, none of my skills that should apply it, apply them. Is there anything I'm doing wrong? Would you need pictures for this?


Sorry, this is my first project.
Can you provide screenshots of the states and the skills meant to apply them? Are you using any scripts that affect state behaviour?
It might be that the targets have too high resistance against the states, or that you gave a state.effect a too low chance of being applied.


A skill does not automatically apply a state, it has a chance of applying the state to the target based on the skill's effect values and the targets resistance values.


Additionally, if you make the duration of a state too short it might be appli4ed and gone before you can detect it.


And a few more variants - that's why we need screenshots to how us the skill and the state and the target to see where it fails.
Okay, here are some of the pictures.


Lich Form works, but the attribute damage effect does not. (Lich STR and Lich Boss STR, there are also Lich debuff for the other stats as well, but they're copies of the STR debuffs.)Freezing Aura, on the other hand, does not work at all. I use the skill, but the state is not applied.


For scripts that effect states, I am using:


-Yanfly's Buff and State Manager


-Yanfly's State Animation (I haven't actually added any of the animations yet)


-Yanfly's Lunatic State with Punishment package

Freezing Aura State.PNG

Freezing Aura.PNG

Lich Boss STR.PNG

Lich State.PNG

Lich STR.PNG

Lich.PNG
I suggest you fill out the messages for the freezing state before testing - that way you can see if that state is applied. With the current settings, you cannot detect if that state is applied or not as you removed icon and all messages.


Also, please provide a screenshot of the common event "Lich form on" as the skill itself doesn't apply the state.


And provide a screenshot of the user to see which trait the actor and its class has.
I noticed that your Freezing Aura has no icon and no text on application, so it would be very hard to figure out when it's applied unless the user is, for example, hit with a hostile Ice Spell.  Give it an icon and some text, save the project (this is important for getting the right resutls when you change anything besides Enemies and Troops), and then re-test and see whether it's applied - this will make things more clear.


If it's still clearly not being applied, then you should try disabling all of the scripts in your project, and trying again - here it will almost definitely work.  Assuming this was the culprit, you can then start re-enabling the scripts one by one, to see which one is causing the weird behavior.
Okay, Freezing Aura is working now, thanks! I'm gonna add icons to the other ones, see if they work haha!


Regardless, here's the other information you wanted.


The (now working) Freezing state, the common event for Lich Form, the class, and the actor.

Feliaria.PNG

Freezing Aura State.PNG

Lich Form On.PNG

Necromancer.PNG
And it works! Okay, so... note to self, DON'T FORGET ICONS! Lol! XD


Sorry for wasting your time guys! Thanks for the help! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/custom-states-not-applying.56240/