- Joined
- Apr 5, 2011
- Messages
- 245
I need to check coming out of range immediately, because it must remove some spell. If it is delayed, spell can be casted and mana/cooldown wasted (because effect must not take place out of range). (Spell must have no cast animation)
What I am doing currently, is
- eventually check unit comes within range
- eventually check unit leaves region
- every 0.1 sec check if unit is within range
Thus, you can use it in corner, which is not that critical, but still not good
Using less time period seems to be a solution, but some kind of retarded
What I am doing currently, is
- eventually check unit comes within range
- eventually check unit leaves region
- every 0.1 sec check if unit is within range
Thus, you can use it in corner, which is not that critical, but still not good
Using less time period seems to be a solution, but some kind of retarded