The goal:
Hit enemies with a seed projectile which will explode in 3 seconds.
The more stacks of seed the target has, the more damage it will do. At the time of explosion, stacks should return to 0.
In Practice:
This works accordingly. If I apply one, two or three stacks(seedbomb instance variable), it will do the appropriate amount of damage.
However, after that, each and every hit will subtract one health from the monster as soon as the projectile hits. If I wait a few seconds and try again, the projectile will work as expected.
My guess is that something is not resetting properly with the 3 second timer and I cannot figure out why.