Originally Posted by Nibelheim
Code:
local _, power_token = UnitPowerType(unit) -- Lua Texts usually pass the unit arg, so leaving unit as is should work
if power_token == "RAGE" or power_token == "RUNIC_POWER" then
-- Warrior / Teddy Bear Druid / DK
else
-- Everything else
end
|
I really need to learn LUA, time for me to use google to learn to put in the text :>
return ceil(Percent(MP(unit)))
|
hm...