hi!
im fairly good with coding but im not that proficient with javascript language itself... im using yanlfys visual hp gauge (http://www.yanfly.moe/wiki/Visual_HP_Gauges_(YEP)) and a custom effect that goes like this:
a skill adds a state that
a - when applied, takes note on the max hp the target has;
b - in the regeneration time, the state removes some of the max hp until it reaches certain percentage;
c - when removed, the state restores back the max hp the user had when the state was applied.
skill is working fine, BUT, the visual hp gauge wont update when the state is removed and restores the max hp. i browsed the plugin help and code to see if there is an update function to be called. there are some, in which i believe update() should work, but i dont know how to call it since i dont know javascript specific syntax.
im trying to add the update to the last lines of the custom remove effect notetag from the buffs and states plugin.
would anyone know how to achieve this? or another method to make the visual hp gauge work properly?
im fairly good with coding but im not that proficient with javascript language itself... im using yanlfys visual hp gauge (http://www.yanfly.moe/wiki/Visual_HP_Gauges_(YEP)) and a custom effect that goes like this:
a skill adds a state that
a - when applied, takes note on the max hp the target has;
b - in the regeneration time, the state removes some of the max hp until it reaches certain percentage;
c - when removed, the state restores back the max hp the user had when the state was applied.
skill is working fine, BUT, the visual hp gauge wont update when the state is removed and restores the max hp. i browsed the plugin help and code to see if there is an update function to be called. there are some, in which i believe update() should work, but i dont know how to call it since i dont know javascript specific syntax.
im trying to add the update to the last lines of the custom remove effect notetag from the buffs and states plugin.
would anyone know how to achieve this? or another method to make the visual hp gauge work properly?