1) Is there a way to check melee range in LUA? I have tried IsSpellInRange with death strike but it returns nil, because it only accepts ranged spells.
2) If I create the following macro:
Code:
/run castspellbyname("death siphon")
/run castspellbyname("death strike")
it only casts death siphon. It ignores death strike. Do I need to add a condition that evaluates "false" in first line, in order to proceed to the second line and so on...?
3) Is it possible to avoid writing functions in macros, and have them functions loaded when I log in to save macro space?
4) Is there a framework,or a library that will save me a lot of time that already contains functions that don't exist in LUA, like isRooted, isStunned, isInMelee, isImmune, isHealerRole etc?
That's all the questions I can think for now.