Originally Posted by Balkeep
So there is no way of forcing player, target, focus to update onthefly?
Also who can tell me why this function doesnt work? it supposed to determine if unit has certain buff or not...
Code:
local function Buffed(unit, auraName)
local i = 1
while false do
if i == 73 then break end
if auraName == select(1,UnitAura(unit, i)) then return true end
i = i +1
end
end
pfff... i feel that i need to start from basics cuz my usual research method is too slow for programming (figuring out how similar things work and adapting them for myself).
|
Why make another function?
Code:
if(UnitAura('player', 'Innervate')) then