I've been trying to work around this without scripting, but its a little complicated and cumbersome. Right now I have implemented something similar to this using troop events. Basically it goes like this:
- Make a poison skill. This skill inflicts the poison state. The poison state doesn't do anything on its own. Give this skill to your actor.
- Make another skill named Poison Damage (or whatever). This skill will deal damage equal to what you want the poison to be (MAT*.25 for example). Do not give this skill to your actor
- Go into your troop events in the database. Make an event with the condition "end of turn" and set to "turn"
- You'll need to make a conditional branch for each enemy position 1-8. In each branch, have it check to see if the state is inflicted on that enemy.
- If it is, then you have two options:
1) Force the actor (whoever has the poison skill) to use the Poison Damage skill on that enemy, dealing periodic damage based on their MAT. However, this will make it look like that actor is re-casting something each turn (instead of just an ongoing effect) if you are using side-view battles. If you don't like that, use the second option.
2) Make a separate actor named Poison or something. In your troop event you will need to set the actor Poison's MAT to be equal to the MAT of the character with the poison skill, which you can do with variables and event commands. If you set up your battle event as mentioned above, this will update each turn. In your Poison Damage skill formula box, you will need to set the damage equal to whatever equation you are following, in this case MAT*.25. Now go back to your conditional branches, force the actor named Poison to use the Poison Damage skill. This method makes it look like nobody is casting anything when you are using the side-view battles, and also keeps the log looking coherent since you can set the displayed text in the skill settings ("Poison damages the enemy" etc).
Like I said, its kinda complicated and super cumbersome, so a script might allow a much easier method of doing this. Unfortunately I'm still quite new to JS, so I haven't been able to figure it out yet. Any suggestions?