is there a way to make a skill that does damage proportional to the amount of damage taken the previous turn?
damage formula tweaks
RPG Maker MV SupportYes, there is. Save damage to a variable and then have that variable in a damage formula. All it requires are javascript plugins and javascript codes.
how exactly do you do that. i haent worked much with variable or the formula
If you're using the Yanfly's buffs and states core, make the skill owner have a state and inside the state's notetag input one of the tags (forgot its' name). Inside the notetag there will be this equation.
$gameVariables.setValue (1, value), where 1 stands for variable 1 and you can change it to some other one if you need, and value will be determined by the engine, so don't change that.
Then simply enter the $gameVariables.value (1) into the skills notetag multiplied by whatever number you want.
$gameVariables.setValue (1, value), where 1 stands for variable 1 and you can change it to some other one if you need, and value will be determined by the engine, so don't change that.
Then simply enter the $gameVariables.value (1) into the skills notetag multiplied by whatever number you want.
Original thread: https://forums.rpgmakerweb.com/threads/damage-formula-tweaks.82351/