A state that allows extra damage on other (negative) states?

So I'm thinking of implementing a state that when applied, allows the Actor with this state to do more damage (overall) to enemies with a given State(s).


So basically something like, 

Deal 25% extra damage to enemies with negative status effects.



Is this currently possible to do? If this requires a script, that's fine too. Thanks!
Definitely doable.  It would be hard to do without a script, because RPG Maker doesn't know what states are "positive" or "negative".  Near the end of the make damage value method, you'd check whether the user has this state ( if user.state?(n) ) and whether the damage is positive (I think it's if value > 0 ) - if so, you want to loop through each state that is considered negative (set a variable to false, then begin the loop) and check whether the target has each negative state ( if self.state?(i) ) - if so, set the variable to true.  Finally, after the whole loop, if the variable is true, increase the damage by 25% ( value *= 1.25 ).


If you don't know how to put this together in RGSS3, it would be best to make a script request.
I sort of got what you were saying, but I think it would be best to make a script request for this to make it standardized. Thanks a lot, your answer was definitely helpful.


Anyone else have any input?

Original thread: https://forums.rpgmakerweb.com/threads/a-state-that-allows-extra-damage-on-other-negative-states.63743/