I need a help with making a spell...It goes like this:
Creates a bond between a caster and a target enemy unit.If the unit gets farther than 400 range of the caster,it will take damage.
It should have 4 levels and last 10 seconds.
Any help would be appreciated.
BTW,this is off-topic a bit...
Someone told me that spells like this leak:
-Every 0.5 seconds of game time
-Pick all units in playable map area and do (Actions)
If/Then/Else
-If
Picked unit has buff (Buff)
-Then
Do something
-Else
Do nothing
Is it true?I did a leakcheck on those triggers,and it didnt detect any,but,as i said,someone told me that picking all units every 0.5 secs causes big lags...
Creates a bond between a caster and a target enemy unit.If the unit gets farther than 400 range of the caster,it will take damage.
It should have 4 levels and last 10 seconds.
Any help would be appreciated.
BTW,this is off-topic a bit...
Someone told me that spells like this leak:
-Every 0.5 seconds of game time
-Pick all units in playable map area and do (Actions)
If/Then/Else
-If
Picked unit has buff (Buff)
-Then
Do something
-Else
Do nothing
Is it true?I did a leakcheck on those triggers,and it didnt detect any,but,as i said,someone told me that picking all units every 0.5 secs causes big lags...