Hello again guys! So i've had an idean for my current project which i tought would be simple (and maybe it is) but i'm not figuring a way do achieve what I want.
So basicly, i have a spell X, which when cast deals damage, but i also want spell X to boost the damage of the next spell Y by 100% At first I tought about using variable, so when user cast X, the variable A which is already in spell Y damage formulas as a multipliers gets incremented from 1 to 2, which would effectively double the spell damage. However, i did'nt find the way to reset the variable AFTER the spell is cast.
So does anyone have a suggestion on how to achieve my goal? It does't have to be with variable, i'm open to any suggestion that would let me do what I want! Thanks! 🙂
So basicly, i have a spell X, which when cast deals damage, but i also want spell X to boost the damage of the next spell Y by 100% At first I tought about using variable, so when user cast X, the variable A which is already in spell Y damage formulas as a multipliers gets incremented from 1 to 2, which would effectively double the spell damage. However, i did'nt find the way to reset the variable AFTER the spell is cast.
So does anyone have a suggestion on how to achieve my goal? It does't have to be with variable, i'm open to any suggestion that would let me do what I want! Thanks! 🙂