I whant to create a assasin skill. Doing more damage on a enemy for each negative states he have but also consume them.
For example, lets say I use this skill on a mob with poison, bleeding , blind and silence (Four negative state). The damage will be something like a.atk + (a.atk *( 0.50 * 4 (number of negative state)) but also removing all the bad states on the enemy curing the enemy and also making this move harder to use well next at the next turn. Using 50% bonus damage by states for the sake of exemple. How can I do a formula like that ?
For example, lets say I use this skill on a mob with poison, bleeding , blind and silence (Four negative state). The damage will be something like a.atk + (a.atk *( 0.50 * 4 (number of negative state)) but also removing all the bad states on the enemy curing the enemy and also making this move harder to use well next at the next turn. Using 50% bonus damage by states for the sake of exemple. How can I do a formula like that ?