I recently added Blizzard's Tons of Addons script to a game I've been working on, and I discovered a bug with the Multi-Hit function.
If you use a skill that hits more than once and your remaining SP is less than the SP cost of the skill times the number of hits, the skill will only hit once and give you back the consumed SP. I've only tested with 2-hit skills, so I don't know how skills that hit 3 or more times are affected.
Has anyone else experienced this bug, and is there a possible way to fix it?
After further testing, I've found that this bug also affects multi-hit items, consuming 1 of that item for each hit that lands. So for example, if you use a bomb on an enemy that inflicts damage twice, one will be consumed for each hit instead of only one on that same turn.
If you use a skill that hits more than once and your remaining SP is less than the SP cost of the skill times the number of hits, the skill will only hit once and give you back the consumed SP. I've only tested with 2-hit skills, so I don't know how skills that hit 3 or more times are affected.
Has anyone else experienced this bug, and is there a possible way to fix it?
After further testing, I've found that this bug also affects multi-hit items, consuming 1 of that item for each hit that lands. So for example, if you use a bomb on an enemy that inflicts damage twice, one will be consumed for each hit instead of only one on that same turn.