Can you please describe, how to invoke your functions like myrawpower in another function? I see that it can be used somehow in CastSpellByName arguments, but I coudnt figure out how. I cant also use it
Example:
function MyFunction()
if (myrawpower>80) then CastSpellByName("Rejuvenation") end
end
And then I try to call this function from macro /run MyFunction() and get an error, because variable myrawpower is always nil
Hello!
Can you please describe, how to invoke your functions like
myrawpower
in another function? I see that it can be used somehow in CastSpellByName arguments, but I coudnt figure out how. I cant also use itExample:
And then I try to call this function from macro
/run MyFunction()
and get an error, because variable myrawpower is always nil