Thanks. The spells work great, and this just answered a lot of questions I haven't even asked yet. :P
Now, I'm wondering what's the best way to force a check for a buff on a target so I can get the DOT or HOT to work with dispels?
Right. I forgot to mention one other thing. The spells I'm making have damage that scales with the caster's stats so using the blizz spells wouldn't work out for me.
I've been trying to make a basic Damage-over-time spell for a while but I can't seem to get one working so I looked for a few already made.
http://www.thehelper.net/forums/showthread.php?t=89024
This one looks perfect, except the system ABCT is outdated and after a bit of effort to switch...
That's a great tutorial! It's a shame the tutorials only for GUI, but I'm sure I'll find a use for it when I work on another spell. What I don't understand is executing a code that uses hashtables on Jass. :(
*edit*
Almost Solved!
I finally got the spell to work after some trial and error...
After a days worth of searching I've yet to come across anything up to date about stacking buffs. The most interesting thread I could find came from this site but the process itself seems broken with the newest patch.
http://www.thehelper.net/forums/showthread.php?t=44499&highlight=buffs...
I can't play the demo-map. Testing it just sends me to the menu screen. Is the problem with TimeUtils? I read that there's a new table (3.0), and I'm wondering if swapping out the old one with the new one will help solve the problem. :) I'm hoping it's that simple.
Wow, thanks Kingkingyyk3. It works great!
Except there's one tiny problem. The character is getting healed for a percentage of their total health instead of a percentage based on the damage they take.
Where would I add something like this?
*edit*
I'd like for the ability to have a 100% chance...
I've tried this out and the hero turned out completely immune to damage instead of having damage reduced by a percentage.
Thanks, kingkingyyk3. Now how do I go about adding this to make a complete script?
I came across this thread http://www.thehelper.net/forums/showthread.php?t=115492&page=2 with a post including a jass script for a passive spell. The spell basically reduces damage by a percentage if the unit has a passive spell learned.
I've been trying to figure out how to convert this to...
Thanks for the reply.
Now how exactly do I add that in? :confused:
I've got an idea as to how it works but I'm still a bit lost. Any help is appreciated.
*edit* I think I have it figured out
private function FilterUnits takes unit caster, unit filter returns boolean
return...
Is there any way to filter out the caster's allies from being pulled?
*edit* I used the function you put in but there are too many units in my map to put in, one by one. I'm not familiar enough with jass, so I haven't figured out a way to filter out Ally units only.