Good evening,
I previously created a skill with community assistance:
forums.rpgmakerweb.com
I am trying to replicate a similar skill, but there is an error in my code:
The desired end state will have the skill apply states 17 & 18 ONLY if the target receives damage. Currently, only state 17 is applied.
Thank you for the support.
I previously created a skill with community assistance:
MV - YEP_BuffsStatesCore - Vampiric Skill/Lunatic JavaScript Assistance
I'm currently using YEP_BuffsStatesCore, and I have a skill called FEED which has a chance of applying BLEED to target and is supposed to remove BLEED and HUNGER states from the user. Essentially creating a vampiric skill for the user. As all healing skills in my game remove the BLEED state. At...
forums.rpgmakerweb.com
I am trying to replicate a similar skill, but there is an error in my code:
JavaScript:
<Post-Damage Eval>
if(value > 0) {
if(Math.random() <= 0.375)
target.addState(17);
if(Math.random() <= 0.15)
target.addState(18);
}
</Post-Damage Eval>
The desired end state will have the skill apply states 17 & 18 ONLY if the target receives damage. Currently, only state 17 is applied.
Thank you for the support.