How do I make a status effect do a set amount of damage? (VX Ace)

Hello there. I would like to make a status effect that does damage. The thing is, I want it to do a set amount of damage, instead of a percentage. For example: I would like to make a burning status that always does 300 damage no matter what, compared to Poison that takes away 5% of a characters health each turn. How do I program this?

https://github.com/theoallen/RGSS3/blob/master/State Damage Using Skill.rb
I translated my script, you can just use skill and write the formula literally as "300" for a fixed damage
upload_2019-3-19_15-58-28.png


Does this look right?
Does this look right?
That means you're going to use skill ID 200
That's a very cool implementation @TheoAllen!
@TheoAllen I like that!

However, Mod hat on now.
Moved to: RGSS3 Script Requests

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-status-effect-do-a-set-amount-of-damage-vx-ace.106984/