Better Poison State and conditions for skills

I'm looking for a better way to setup the Poison state. Health Degeneration by a percentage limits the usage too much. Weaker enemies take too long to die from it, and bosses have to be immune or else it's too effective.

The way I would like it to work is to deal damage from a formula every turn. Is there a way to do this without scripting?

And is it possible to setup conditions for skills? For example, Skill A deals damage and adds the Poison state, then Skill B deals damage and adds the Stun state if the target is Poisoned.

I have a feeling that both of these are going to require scripting...
I'm not sure about the former, skills that inflict damage and poison are built into the maker. They're handled with traits. Just cause a normal damage kill, and include the "Causes Poison" trait and a percentage for how often it should succeed.
The way I would like it to work is to deal damage from a formula every turn. Is there a way to do this without scripting?And is it possible to setup conditions for skills? For example, Skill A deals damage and adds the Poison state, then Skill B deals damage and adds the Stun state if the target is Poisoned.
Without scripts, it would be so hard to put something effective that you would like to use one...BTW i liked the ideas, i might do something l.
http://db.tt/LJVjslBy

I wrote this script some time ago to allow users to specify conditions that must be met before skill effects were applied.

Of course, the logic was basically



Code:
if conditions met
   apply effects
And it was applied to *all* effects, not just a specific one (couldn't come up with a way to specify aside from indexing, since it's just an array). Usage is fairly limited as a result, but I guess I could go ahead and add the indexing idea if it's needed.

Don't know if there are bugs with the script or how compatible it is, but you basically tag the skill that requires the target to be poisoned with



Code:
<fp:ce f b.state?(POISON_STATE_ID)>
Whatever your poison state ID is.

Then, in your effects box you would add your "add state: stun" or something, and that effect will only be applied when the target is poisoned.

You kind of have to know how to read ruby code if you want to use it effectively, since the conditions are specified using formulas (eg: code)
Make the skill inflict two types of poison -- one strong (~25%) and one weak (~5%) -- and make bosses immune to the stronger one.
Thank you Tsukihime. It took a little bit of trial and error to get it to work (I was using the state ID "002" when it should only be "2"), but it does exactly what I need.

And thanks to Thalzon for reminding me of the old saying, "Work smarter, not harder".

These 2 things combined pretty much solves the problem. You guys are awesome!
Actually I think it's supposed to be the number 2, but maybe ruby doesn't care.
Great to see it solved so fast. 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/better-poison-state-and-conditions-for-skills.3150/