So, formula looks like this
And I need it to be DoT damage dealt by state in JS code
v[x] is a variable for state's counter which applies to an Enemy by Actor's skills
v[y] is a variable for collected items of certain type
I tried method from Yanfly's DoT video but messed up with variables. Can't figure out what to put in here instead of v[x] and v[y].
For now it looks like this
1's are placeholder for missing parts of original formula.
a.level * (v[x] / 5 + 1) * (v[y] * v[y] / 100 + 1)And I need it to be DoT damage dealt by state in JS code
v[x] is a variable for state's counter which applies to an Enemy by Actor's skills
v[y] is a variable for collected items of certain type
I tried method from Yanfly's DoT video but messed up with variables. Can't figure out what to put in here instead of v[x] and v[y].
For now it looks like this
<Custom Apply Effect>// Calculate the damage to be dealt by the formula.target._newSpace = Math.ceil(origin.level * 1 * 1);</Custom Apply Effect><Custom Remove Effect>// Remove the damage effect.target._newSpace = undefined;</Custom Remove Effect><Custom Regenerate Effect>// Default the DoT formula.target._newSpace = target._newSpace || Math.ceil(origin.level * 1 * 1);// Reduce the target's HPtarget.gainHp(-target._newSpace);// Start the damage popup.target.startDamagePopup();// Check if the target is dead.if (target.isDead()) { // Make the target collapse. target.performCollapse();}// Clear the target's results.target.clearResult();</Custom Regenerate Effect>1's are placeholder for missing parts of original formula.