Okay, so I have an idea for a skill called Vindication. In essence, it's an attack that grows stronger the more of the user's party members are incapacitated. Using X to represent the number of party members knocked out, it'll take the base damage from the regular attack and multiply it by 0.75 x (X + 1). In other words, the attack is 75% as strong when the party's all around, gains extra 75% for each KO'd party member and caps out at x3 if he's the last man standing.
My first instinct was to create a variable based on how many KO'd party members you currently have in battle and insert that variable into the damage formula, but I couldn't figure out how to create that variable. Any ideas how to accomplish this?
My first instinct was to create a variable based on how many KO'd party members you currently have in battle and insert that variable into the damage formula, but I couldn't figure out how to create that variable. Any ideas how to accomplish this?