HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Channeling Spell won't work

05-11-2008, 01:18 AM#1
Crevax
I've been trying to figure out the problem for a while. A friend has helped help me occasionally, but I think it's unfair to have him take me step-by-step through every little problem I have while learning JASS (which has been a lot). So I'm finally going to post here, asking for help.

It works if I just call the function instead of using a timer with callback; but once I add the timer, it stops working. And, yes, I know that I have nothing to stop the trigger early if the channeling is interrupted. I figured I should probably get it working through the whole duration before I bother with that.

Expand Drain Blood:
05-11-2008, 01:43 AM#2
Vexorian
First of all, this thing isn't MUI, so verify that you are not using those global variables in another function.

* Your problem is that you got GetTriggerUnit() in the filter, you are probably intended to use "Caster" there.

There are a lot of issues in your spell's , so once you verify that changing TriggerUnit() with caster there, tell us so we can correct you. (A lot of issues)
05-11-2008, 02:06 AM#3
Crevax
Haha, wow. I can't believe I skipped over that! It works now.