[Solved] Spell Bug problem

Status
Not open for further replies.
Level 10
Joined
Nov 24, 2010
Messages
546


Hastable




Cast

Loop


Spell is supposte to heal units around caster for X each 2 seconds for 6 seconds. But it heal only caster.
I know this is doneable with dummy tho, but i dont know why this do not work.
Any ideas? maybe i missed something small.
 
Post trigger in trigger tags instead of pictures. Main mistake: you save value 6 as child key (Target unit of ability being cast) in hashtable and in loop you load key of (Picked unit) - since there is only one unit that has saved data on it's id (other units don't have anything saved on their ids) thus only that one will be healed. You hae to either pick units in that group and save value on thier id or save the group in casters id.

There are other improvements too, but at first post triggers ;)
 
Status
Not open for further replies.
Top