- Joined
- Jun 10, 2019
- Messages
- 69
Hello all,
I'm making a skill-shot projectile that explodes upon contact with an enemy, lighting the target and all nearby enemies on fire, dealing no immediate damage but dealing a lot of damage over time.
It works great 80% of the time, but unfortunately, 80% isn't quite good enough haha.
I believe the problem is that, to do damage, it checks for a debuff that the explosion applies (it picks all units in a set radius, spawns a dummy for each of them, and then the dummy casts a modified Curse spell on the picked unit).
I believe the issue is that the dummies sometimes aren't quick enough in casting the spell maybe? I'm not sure if that makes sense, but I've eliminated pretty much everything else.
Is there a quicker way to apply a buff other than spawning a dummy and having the dummy cast a spell? If not, which spell is the quickest?
I have thought about instead adding an ability to the target (like an aura) that bestows a buff, but I want this debuff to be dispel-able, so I unfortunately don't think that that would work.
Thanks for reading!
Edit: I did briefly try making it so that it didn't check for a buff - it only counted down the duration, and it worked 100% perfectly then. However, I would like for there to be a debuff, and I would like for it to be dispel-able, so that method is a no-go.
Edit 2: The skill shot is based off of Carrion Swarm, if that matters.
I'm making a skill-shot projectile that explodes upon contact with an enemy, lighting the target and all nearby enemies on fire, dealing no immediate damage but dealing a lot of damage over time.
It works great 80% of the time, but unfortunately, 80% isn't quite good enough haha.
I believe the problem is that, to do damage, it checks for a debuff that the explosion applies (it picks all units in a set radius, spawns a dummy for each of them, and then the dummy casts a modified Curse spell on the picked unit).
I believe the issue is that the dummies sometimes aren't quick enough in casting the spell maybe? I'm not sure if that makes sense, but I've eliminated pretty much everything else.
Is there a quicker way to apply a buff other than spawning a dummy and having the dummy cast a spell? If not, which spell is the quickest?
I have thought about instead adding an ability to the target (like an aura) that bestows a buff, but I want this debuff to be dispel-able, so I unfortunately don't think that that would work.
Thanks for reading!
Edit: I did briefly try making it so that it didn't check for a buff - it only counted down the duration, and it worked 100% perfectly then. However, I would like for there to be a debuff, and I would like for it to be dispel-able, so that method is a no-go.
Edit 2: The skill shot is based off of Carrion Swarm, if that matters.