Click on the 'X' to the right if you don't want to see this notice anymore
PT: Lembre-se! WindBot não funciona em servidores protegidos por software anti-cheat. No futuro, pode ser que funcione ou não nesses servidores. Para mais informações, visite esse tópico.
Originally Posted by Leitsha if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then paround(s) returns amount of ppl in s range, so your check will do for eg. 1. Is it a spell? 2. Can cast it? 3. Not 4? L. Well, 'not 4' actually evaluates to false in Lua. But the problem is that so does 'not 0'. PS: That's a nice [LUA][/LUA] tag!
if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then
Originally Posted by Raphael Well, 'not 4' actually evaluates to false in Lua. But the problem is that so does 'not 0'. PS: That's a nice [LUA][/LUA] tag! Yea, thats what I meant by that. But I'm glad that you enjoy this tag so much, I will try to remember to use it in all my posts now. L.
No progress comes from pleasure We smile in ignorance and learn in pain
Originally Posted by Leitsha if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then paround(s) returns amount of ppl in s range, so your check will do for eg. 1. Is it a spell? 2. Can cast it? 3. Not 4? L. My bad. I thought paround returned if there is 1+ players inside the range. My bad again. Thanks for the explanation!
Forum Rules