- Joined
- Jan 25, 2011
- Messages
- 2,293
I'm trying to achieve my own ability system in a project outside of warcraft and I would love some input on how warcraft handles ability casts, if anyone knows.
If these questions can be answered with actual code examples it would be great (I can probably convert it to C#), but any insight is appreciated.
Please move this question to the appropriate forum if this is not the place for this type of question.
- Does an ability track its own cooldown and duration? Or is it an ability component on the unit that tracks this for each ability on the unit?
- How do "start casting" and "start channeling" and " start an effect" differ in terms of coding?
- How do an ability (or the unit using the ability) know if it is channeled?
If these questions can be answered with actual code examples it would be great (I can probably convert it to C#), but any insight is appreciated.
Please move this question to the appropriate forum if this is not the place for this type of question.