MZ Health Regeneration Elements

I have several DoT/HoT states that use Health Regeneration to mechanically achieve the effect. However, I also am using several damage elements that intersect with damage taken and healing received. Is there a way to achieve the same effect as Health Regeneration but with the ability to determine what element the healing or damage is applied as (burning right now deals physical damage which is...not ideal). If it's not possible to do it through the health regen parameter, is there something else I can do to achieve this effect? I'm using a lot of the VisuStella plugins, such as Skills and States core and Battle Core.
VIsustella skills and states has an HP Slip notetag to handle regeneration effects iirc. you can use it to make a quick formula that factors in the subject's element rate for the regeneration to use
VIsustella skills and states has an HP Slip notetag to handle regeneration effects iirc. you can use it to make a quick formula that factors in the subject's element rate for the regeneration to use
Hey thanks for the reply! I checked and there indeed is a slipdamage and heal notetag, but I don't think there's any place where I can designate an element.
For example:
<JS type Slip Damage>
code
code
damage = code;
</JS type Slip Damage>
I'm assuming that "damage = code;" only expects a number, so I can't specify something along the lines of "Do 15 *Fire* damage"
I don't think there's any place where I can designate an element
it depends on what exactly you want and what other things youre doing. As elements arent really tied to damage itself but to actions, doing damage outside of actions would never count as doing elemental damage. the best you can get without rewriting all of the code behind it would be to "fake" it by manually adding your factors to the slip damage code.

at its core, doing -
something along the lines of "Do 15 *Fire* damage"
could just be:
Code:
<JS type Slip Damage>
damage = 15 * target.elementRate(2);
</JS type Slip Damage>
where you make it so that the subject of this state takes 15 damage per turn, modified by their element rate for fire (assuming element 2 is fire). But if you want something more specific then youll have to say what it is.
it depends on what exactly you want and what other things yore doing. As elements arent really tied to damage itself but to actions, doing damage outside of actions would never count as doing elemental damage. the best you can get without rewriting all of the code behind it would be to "fake" it by manually adding your factors to the slip damage code.

at its core, doing -

could just be:
Code:
<JS type Slip Damage>
damage = 15 * target.elementRate(2);
</JS type Slip Damage>
where you make it so that the subject of this state takes 15 damage per turn, modified by their element rate for fire (assuming element 2 is fire). But if you want something more specific then youll have to say what it is.
Ah I see, thank you for clarifying. I think being able to multiply the damage by an existing elementRate already covers half of what I was looking for. The other thing is whether there's a way to color the damage number (ex. fire slip damage is orange, etc)

Edit: Quickly testing it, I don't think Slip Damage triggers in the world map either 🙁 but thanks for your help anyways it was very informative!
👋

Original thread: https://forums.rpgmakerweb.com/threads/health-regeneration-elements.182695/