Thread: IsSpellInRange
View Single Post
07-09-18, 01:00 AM   #7
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
Replying to my own question I think I have an answer as to why IsSpellInRange does not work with Swipe and Thrash and returns -1.

I think the reason is because Swipe and Thrash are not-targetted spells and therefore can be cast without a target, so the game does not make the calculation until and unless you do cast the spell, and then and only then will it check to see if you damage the target(s). But you cannot find out before hand whether casting Swipe/Thrash will actually damage the target(s).

The situation gets much more complex with the talent Balance Affinity which extends the range of your spells by 5 yards, [Luffa Wrappings] which extends Thrash's reach by 25%, [Ekowraith, Creator of Worlds] which increases the Balance Affinity by 75%!

For example to complete the mage Tower challenge (in 2 or 3 tries I think) I had: Mangle at 14 yards, Swipe at 17 yards and Thrash at 21 yards !!!
  Reply With Quote