Ya I'm doing it where the player has to choose active and passives, if only I know a way to make some states not show up on the menu screen, it's the next thing I got to look at lol.
VE - Passive States
● ARCHIVED · READ-ONLY
-
-
If you are using a plugin to equip skills, use something likeYa I'm doing it where the player has to choose active and passives, if only I know a way to make some states not show up on the menu screen, it's the next thing I got to look at lol.
Code:Then you would need to ask the code that checks if a skill is equiped. This way the state would be active only if the skill is equiped.<custom passive state: ID>is_the_skill_equiped_code</custom passive state> -
no the code works properly like it is. I think I found what I was looking for, the state priority should be what I was looking for I didn't know it had that built in.If you are using a plugin to equip skills, use something like
<custom passive state: ID>is_the_skill_equiped_code</custom passive state>Then you would need to ask the code that checks if a skill is equiped. This way the state would be active only if the skill is equiped. -
Use <Hide in battle>Ya I'm doing it where the player has to choose active and passives, if only I know a way to make some states not show up on the menu screen, it's the next thing I got to look at lol.
It's a notetag from Yanfly's skill system. -
Victor, I would like to recreate an effect that I used with your "state auto apply' script in vx ace.
I'm bad at javascript so I can't seem to do it myself.
I would like the state to appear on my actor when he uses a skill. (let's say state 10 appears on my actor when I use skill 5).
How would I do that exactly ? -
If you want to add the state, without any type of condition, you can just add it to the damage formula of the skill.
with something like: a.addState(10); yourDamageForumla -
If you want to add the state, without any type of condition, you can just add it to the damage formula of the skill.
with something like: a.addState(10); yourDamageForumla
This is useful but to be more specific, I don't want the skill to do it by default. I would like to create an accessory that, when equiped, will add this capacity to the skill, as a way to enhance it. -
Yeah, for that the State Auto Apply would be better.
While it is not done, you can do it on a different way, although you will need two states: make the action add a state, and make the passive state on the equip to check if the state is applied
for example: a.addState(9); yourDamageForumla
then put the passive state on your equip to check if the state 9 is applied.
<custom passive state: 10>
result = a.isStateAffected(9);
</custom passive state>
For now, this can acheive the result you want. Once the State Auto Apply is done, it will be easier. -
That's already very good. Thank you for your time and answers.
-
After so many times of going through lag spike issues from Yanfly's YEP_AutoPassiveStates (lag spikes when entering Skill menus, scrolling down to other skills and items, whether the attack hits or misses, going to the next actor, etc.), I'm grateful I haven't had any issue when I started using this Passive States plugin. I can play battles much better now while at the same time, making use of the passive states and its conditions, thanks to giving this one a try.
I was aware that conditions can cause them, but I'm surprised this is working well for me without any lag trouble, considering how each one has its own set of conditions, no matter what actor, class, weapon, armor you got.