• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Channel based ability not behaving

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi there, long time no see.

I found some weird behaviour with a custom spell based on the "Channel" ability. I have two issues right now:
- The cooldown of the spell ends whenever a unit attacks the caster. The actual cooldown of the spell is 10 seconds, so this shouldn't be happening. And I'm talking about melee or ranged attacks, I haven't tested what happens if the caster gets hit by a spell.
- The casting of the spell gets interrupted, also, with normal attacks. There's a small time gap between the moment you click the button on the interface and the moment the spell's efffect starts. If a unit attacks the caster in this time lapse, the spell never starts.

Maybe there's some kind of setting in the Object Editor I'm missing (it could be, it has been a while since I last used World Editor). I searched through the forums for an answer to this problem, with no luck.
I don't think it's normal for a spell to get interrupted or to get its cooldown restarted with melee or ranged attacks:eekani:. I hope someone can help me here.

Thanks for reading.
Kind Regards
 
Level 9
Joined
Apr 19, 2011
Messages
447
reduce the casting time to 0.01 and follow through time to 0.01..

castbackswing of the caster also affects the casting time...the greater the cast backswing the longer it will take to be cast even the spell is not an channel cast type..

I reduced the casting time to 0.01, and it fixed the problem :).
Just one question: why 0.01, and not 0.00? Is there really any difference?

Kind Regards
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
I think it is because spell casting mechanincs.

Blizzard wanted the ability to be configured so that the caster does not keep the ability order at all after the spell is cast. If 0.00 lasted forever, the only option would be to set it to 0.01 and that would defeat the purpose.

Follow through time is the time between Starts the effect of an ability and Finishes casting an ability. With 0.00 time, they happen virtually at the same time, "finishes" runs right after "starts" like it should.
 
Level 9
Joined
Apr 19, 2011
Messages
447
Thanks for the answers, guys.
I learned one or two things with this thread. I guess I'll adjust follow through time just for animation purposes (as I was doing until now), and set casting time to 0.00 (although 0.01 seems to work fine as well).

Anyway, thanks for the help. Problem solved :)
Kind Regards
 
Status
Not open for further replies.
Top