Is there a plugin to increase state infliction rate by the user?

To be more specific: One that would let you set equipment, states, etc to directly modify the chance of specific states being inflicted by the user, and/or the chance of specific items/skills inflicting their states by the user? As an example:
Characters A and B have a skill (012, Envenomate) that deals physical damage, with a Success Rate of 100%; as part of its Effects, Envenomate has "Add State: Poison 40%." If targeting Enemy A, which has a State Rate of 50% for Poison, this would halve Envenomate's chance of poisoning to 20% (40*0.5 = 20), but not the damage, since that's a separate thing. Targeting Enemy B, which has a State Rate of 100% for Poison, wouldn't affect the base chance (40 * 1 = 40).

What I'm asking for is as follows:
  • Character A is given a passive state (let's call it Crafty Poisoner); this increases the chance of the user inflicting Poison status through any means by 40% (or 1.4 times). If they used Envenomate, the base chance of poisoning before any other modifiers would become 56% (40*1.4 = 56). This would then become 28%, if it targeted the enemy mentioned earlier (40*1.4*0.5 = 28).
  • Now, let's say Character B also has two additional skills (013, Concussive Blow) which has "Add State: Confusion 40%," and (014, Lens Flare), which has "Add State: Blind 40%." Character B then receives a different passive state (let's call it Assassin's Dagger). Assassin's Dagger increases the chance of the user inflicting ANY states, but only with specific skills, by 20%. In addition to Envenomate, this passive affects Concussive Blow, but NOT Lens Flare. With Assassin's Dagger active, Concussive Blow's chance of applying Confusion before any other modifiers would become 48% (40*1.2 = 48). Against Enemy A, which has a State Rate of 100% for Confusion, this would result in a 48% chance (40*1.2*1 = 48). However, targeting Enemy B, which has a State Rate of 50% for Confusion, would halve Concussive Blow's chance of confusing to 24% (40*1.2*0.5 = 24).
  • If Character A were to use Concussive Blow, its base chance of applying Confusion before any other modifiers would remain 40%, as they lack the Assassin's Dagger state that Character B has.
  • If Character B used Lens Flare, its base chance of applying Blind before any other modifiers would remain 40%, since Assassin's Dagger doesn't apply to it.
  • Let's say Character A has another skill (015, Blinding Poison Strike), which has "Add State: Blind 40%" and "Add State: Poison 40%." If they used Blinding Poison Strike while they also had Crafty Poisoner active, the base chance of them applying Poison before any other modifiers would be 56% (40*1.4 = 56), whereas the base chance of them applying Blind before any other modifiers would remain 40%, as Crafty Poisoner only alters Poison effects specifically.
  • If Character B were to use Blinding Poison Strike, the base chances of them applying Blind and/or Poison would both become 48% (40*1.2 = 48), as it is one of the specific skills that their Assassin's Dagger state modifies.
Yanfly created an "Element Cores" plugin that is comparable to what I'm asking for, in that it has a "Magnify" tag that will boost the damage of specific Elements. Victor, meanwhile, created an "Action Strengthen" plugin that is also comparable to what I'm asking for, in that it lets you insert tags that boost the damage of specific skills. Neither of these fine creators ever did something similar for States, however. I've looked through this forum and all over the web in general, but haven't yet found a plugin that does what I'm asking for.
I'm not 100% certain,but you might be able to do this with action sequences (I'm not good at them so ask in the action sequence thread)
First a common event that applies a state to the actor that you want to have a higher chance to poison,make a state with a attack state trait by + how much you want.
then he attacks
then another common event that removes the state the state that increases poison chance.
Bump.
Another bump, since it's been a while.
Why not do it with a common event?
Envenom adds a dummmy state to the target and procs a common event
In this common event you calculate the real chance of afflicting the poison state using conditionals to check for items or states.
Then you can generate a random number and if it's within probability you add the poison state via event.
Then you remove the dummy state.


To recap what it'd look like in practice:
Envenom: deals X damage, adds state Y "dummy" to target, and triggers common event Z

Common event Z
Set Variable A to random number between 1 and 100
Set Variable B to number which is base chance to add poison state (40)
If hero has state Crafty poisoner multiply B by 1.4
If hero has equipment X multiply B by W
[... and so on for every possible equipment or enemy type or state which would modify envenom's chance ...]
If A < B -> add state poison to enemy with dummy state
Remove state Y "dummy"

This way doesn't require any scripting at all. If you look at the js script call list you can just not use a dummy state and directly use a variable to register the attacker and the defender's ids which would save you some complexity.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-plugin-to-increase-state-infliction-rate-by-the-user.117811/