IsSpellInRange("Zeal","target")
I use the above code to determine if my target is in melee range. It works 99% of the time as intended. However there are situations / occasions where it returns nil and it's quite stubborn too, eg a reloadUI does not help. When I say "situations" I mean straight up one or more mobs, happily melee-ing them, but it returns nil. I am not sure what's up with it. Any ideas?
|
Try this.
Lua Code:
|
A bit late reply, I have started using this today and so far seems to work! But so did the IsSpellInRange for months/years before it decides to stop working ...
|
If you want to continue using IsSpellInRange on a paladin, use Crusader Strike. Zeal was a melee spell in Legion but it's now a passive talent (with a hidden 30yd range).
|
All times are GMT -6. The time now is 06:11 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI