what the title says. how can i make a skill that lowers accuracy? i've been looking all across the forums and couldn't find one thread about this surprisingly. i've tried using states to achieve this but i want it to be like in pokemon for example, every time a pokemon uses a move that lowers their opponent's accuracy, it actually decreases even more each time where if i were to use states, it'd just stay the same value even if the skill is used multiple times.
how to make a skill that lowers accuracy?
RPG Maker MV Supportit's a debuff and could be found in the traits state I think.
You'd need to use a plugin that allows for dynamic (changing) values on a state.
Quasi's Param Plus or Hakuen Studios Dynamic Parameters would both work.
Quasi's Param Plus or Hakuen Studios Dynamic Parameters would both work.
You could do that, if you're okay with the predefined amount the debuff affects the parameters by. If you want to have different values depending on the skill, you'd need to use one of the plugins above.
@ShadowDragon @ATT_Turan
The OP asked about accuracy, not agility - there is no debuff for HIT%
@undeadpup
Theoretically you can use a state to reduce HIT%, but as already said not only does this has the problem of not stacking, there is also a problem with what you call accuracy and the engine:
Only with physical skills there is a chance of missing, magical skills automatically hit.
The following topic might help you to understand what HIT% does and possibly find out if skill success% can replace that for you:
forums.rpgmakerweb.com
If that doesn't help, please describe the effects you want that change in accuracy to have on the player
The OP asked about accuracy, not agility - there is no debuff for HIT%
@undeadpup
Theoretically you can use a state to reduce HIT%, but as already said not only does this has the problem of not stacking, there is also a problem with what you call accuracy and the engine:
Only with physical skills there is a chance of missing, magical skills automatically hit.
The following topic might help you to understand what HIT% does and possibly find out if skill success% can replace that for you:
RPG Maker VXA/MV/MZ Damage Flow
An infographic to teach people how the damage/recovery is calculated in vxace! This infographic is made by @Archeia and @rhyme. Thank you to these people for helping me figure out the EXACT flow and formulas :D Recommended that you open this image in another tab or click on it over here if...
forums.rpgmakerweb.com
If that doesn't help, please describe the effects you want that change in accuracy to have on the player
Oops, good point. 😛
You can use Yanfly's Buffs and States Core to apply a variable to the target that increases the more you apply the state, then factor that variable into the hit rate using Yanfly's Hit Accuracy.
MV right? This threads will do exactly what you wanted
forums.rpgmakerweb.com
RMMV - make progressive state with YEP plugins
hi, i'm not very good at code and i want to use YEP's buffs & states core to make progressive states. I want my bleeding state to evolve into hemorrhage after 3 turns and i don't know what to write into the notetags of my bleeding state.
forums.rpgmakerweb.com
could you provide an example of what you mean? i downloaded yanfly's buffs n states core (i already had the hit accuracy plugin) n looked at both plugins' instructions and can't find how to do that
Sure.
You want to track how many times the state has been added, so you use the notetag from Buffs & States that runs when the state is added.
Then inside you put the code from the documentation to add a state counter.
Then you use the code from the documentation to check that state counter in the formula for Hit Accuracy.
The default User Hit Rate for Physical Hits is simply
So you could change that to
and each counter of state ID 42 (or whatever the ID of your state should be) will decrease the hit chance by 10%.
You want to track how many times the state has been added, so you use the notetag from Buffs & States that runs when the state is added.
Then inside you put the code from the documentation to add a state counter.
Code:
<Custom Apply Effect>
user.addStateCounter(stateId, 1);
</Custom Apply Effect>
Then you use the code from the documentation to check that state counter in the formula for Hit Accuracy.
The default User Hit Rate for Physical Hits is simply
user.hitSo you could change that to
user.hit - user.getStateCounter(42) * .1and each counter of state ID 42 (or whatever the ID of your state should be) will decrease the hit chance by 10%.
Extra Parameter Formula (YEP) - Yanfly.moe Wiki
With the above, would you be able to do something like;
<hit Flat: -(user.getStateCounter(42) * .1)%>
I can't remember if that has to use regular numbers or if it can use a formula (I'm not in a place I can test it myself). If so, then everything can stay contained within the state.
It can't. Those notetags will only accept numeric values.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-skill-that-lowers-accuracy.174049/