Hi all ♥
I am trying to create a State that works on stacks (I followed Yanfly's "Stockpile" Tips & Tricks) and a Skill that increases its strenght based on the stack level of the state. Everything works smoothly, but I would like to set an effect that, always based on the stack level, increases the chances for that skill to apply a state on the target.
For esample.
FIRST SKILL: "Warm up"
-- Every use add 1 stack of "Warmed up" on the user
SECOND SKILL: "Fire arrow"
-- Deals damage based on the number of stack of "Warmed up" on the user (easy to do) AND has a 10% chances to BURN the Target for every "Warmed up" stack on the user (1 stack: 10%, 2 stacks: 20%, 3 stack 30% and so on). If BURN occurs, clear out every "Warmed up" stack on the user.
So basically, I am asking what is the call code for applying a state on the enemy with just a precise percentace of success, and connecting this percentage to state stack value. I am not a Js expert at all ;; so any help would be extremely appreciated. And sorry if I'm asking for something too peculiar.
I am trying to create a State that works on stacks (I followed Yanfly's "Stockpile" Tips & Tricks) and a Skill that increases its strenght based on the stack level of the state. Everything works smoothly, but I would like to set an effect that, always based on the stack level, increases the chances for that skill to apply a state on the target.
For esample.
FIRST SKILL: "Warm up"
-- Every use add 1 stack of "Warmed up" on the user
SECOND SKILL: "Fire arrow"
-- Deals damage based on the number of stack of "Warmed up" on the user (easy to do) AND has a 10% chances to BURN the Target for every "Warmed up" stack on the user (1 stack: 10%, 2 stacks: 20%, 3 stack 30% and so on). If BURN occurs, clear out every "Warmed up" stack on the user.
So basically, I am asking what is the call code for applying a state on the enemy with just a precise percentace of success, and connecting this percentage to state stack value. I am not a Js expert at all ;; so any help would be extremely appreciated. And sorry if I'm asking for something too peculiar.