Issues on applying state

Heyyo 🙂


That's the problem. 


I've two skill, the classic Attack stance and Defense stance. Both apply their respective state. But not ever, in fact the two skill miss the target(the actor) sometimes. Is also very hard to switch from attack to defense because defense stance skill miss almost ever if the other state is active. 


I've checked every single option, created items to be sure to have 100% hit but they still miss... 


Am I doing something wrong? Can be due to YEP Buff & States Plugin? 


Thank you for your help. 
I have these skills in my game, using Yanfly's plugins. I don't have any troubles with them.


Can you show us a screen of your skills ?
Is all in Italian I think you cannot understand so much. 


Skill are the same. Both have 


Scope: User


Only in battle


Speed 1000


Success 100%


Repeat 1


TP Gain 50


Damage type None 


No specific weapon needed


Add State attack/defense  stance 100%


Remove State defense/attack stance 100%
Instead of scope : user, use scope : none or something like this.
what are the luck values of the user?


the real chance of applying a state is always modified by luck


additionally, please give screenshots - your description is missing several infos on those skills and the states, it's better to give full screenshots as that will contain all data.
I run something similar to yours, except I have it run across three different stances that each have an upgrade keyed to a separate state given by a different skill.


Anyway, what you're going to want to do is something like this:


Soul Improve Common Event.PNG


This is the event I set up to trigger my "Soul Improve: Wrath" state. The event should have a conditional if:else branch.


The If statement should be: "If: (Actor) is affected by Attack Stance".


If this is true (Actor is affected by Attack Stance), remove Attack Stance.


Else:


Add Attack Stance to (Actor), and remove Defense Stance from (Actor).


Obviously, this will only work on an individual character-by-character basis, so if your game has multiple characters in the party at one time (Mine only has the one), you'll need to create a new event and Attack Stance and Defense Stance skills for each character. Other than that, though, set the scope of the skill to whatever (Mine is set to None, but you can set it to The User or even One Enemy), and in the effect tab, have the skill call up the event.
Screenshot in attachment. (I'm on mobile, is hard to upload img somewhere) 


Luck at level 1 is 16


Luck at level 40 is 65


Without equipment or other modifiers. 


EDIT : There is an  error on the screenshot, the assault stance is duplicated. Is OK the Def stance is the same skill, just invert the add /remove state. Sorry for the problem. 


Untitled-1.png
Yeah- try removing the notetag stuff and doing common events. It's a little bit more work setting the events and duplicates of the skills up, but it does work.
@Melosx please repost your screenshots as four single pictures and not as a combined picture. The forum software rescales that and makes it unreadable.

Original thread: https://forums.rpgmakerweb.com/threads/issues-on-applying-state.67701/