I'm trying to setup a skill for a Pixie Queen character, and initially I had a variable in the damage formula that would go up by 1 when triggered by events in the game.
this is the current formula:
v[33] = (v[33] || 0); (((a.atk + a.mat + v[33])) * 2) / (((b.def + b.mdf))
However, no matter what i can get the variable set to, (either by items or actually tracking the event variable) the damage
still rounds to Zero.
For context, the game is built around some of the concepts inspired by pokemon, so I'm trying to keep the damage received around the ~x to ~xx range, as many monsters (at least where I'm at in development) aren't even close to triple digit health.
this is the current formula:
v[33] = (v[33] || 0); (((a.atk + a.mat + v[33])) * 2) / (((b.def + b.mdf))
However, no matter what i can get the variable set to, (either by items or actually tracking the event variable) the damage
still rounds to Zero.
For context, the game is built around some of the concepts inspired by pokemon, so I'm trying to keep the damage received around the ~x to ~xx range, as many monsters (at least where I'm at in development) aren't even close to triple digit health.