Heyo, folks~
So I've been working on some skills for my game, and ran into a pretty major hiccup when I came to a particular ability.
The ability: Nihilism- Cleanses all enemy targets of all debuffs, then inflicts damage proportional to the amount of debuffs removed, split among all targets affected by Voidtouch. The user takes the share of any enemies not affected by Voidtouch. (ie. Targets A, B, C affected, A/B have Voidtouch-C doesn't, User takes the damage that would have gone to C instead)
Just to clarify a bit, the debuffer gets an ability called Voidtouch, which is a debuff that makes her other abilities have alternate interactions on affected targets. In the case of Nihilism, it is required on the targets to avoid self-damage. I'm really just not sure how to even start making Nihilism work.
The major help needed here is:
1) How to tell how many debuffs are removed across all targets, and attach that number to a variable for the purposes of the damage formula.
2) How to remove Voidtouch (To include it in the debuff removed count) yet still factor it into which targets are damaged.
3) Aaand, how to work the formula so that the user takes X amount of damage chunks.
I know I'll most likely need plugins for this one, but any help would be appreciated!
So I've been working on some skills for my game, and ran into a pretty major hiccup when I came to a particular ability.
The ability: Nihilism- Cleanses all enemy targets of all debuffs, then inflicts damage proportional to the amount of debuffs removed, split among all targets affected by Voidtouch. The user takes the share of any enemies not affected by Voidtouch. (ie. Targets A, B, C affected, A/B have Voidtouch-C doesn't, User takes the damage that would have gone to C instead)
Just to clarify a bit, the debuffer gets an ability called Voidtouch, which is a debuff that makes her other abilities have alternate interactions on affected targets. In the case of Nihilism, it is required on the targets to avoid self-damage. I'm really just not sure how to even start making Nihilism work.
The major help needed here is:
1) How to tell how many debuffs are removed across all targets, and attach that number to a variable for the purposes of the damage formula.
2) How to remove Voidtouch (To include it in the debuff removed count) yet still factor it into which targets are damaged.
3) Aaand, how to work the formula so that the user takes X amount of damage chunks.
I know I'll most likely need plugins for this one, but any help would be appreciated!