local threatpct = UnitDetailedThreatSituation("player", "target")
if threatpct and threatpct > 0 then
if event == "PLAYER_REGEN_ENABLED" then
elseif event == "PLAYER_REGEN_DISABLED" then
Ok, so far it works but when I'm tanking a mob and pull another one the panels isn't showing on mob2, first if i change the target and get back on mob2...
well, this code is my first try to make a kgpanel script, if someone have a idea to make this scritp more functional, please... teach me :)
ah, i need another script too :)
Need a script to show me the PvP Icons (alliance,horde,ffa) if my target has an eg. pvp status, any idea? EDIT: ok, i have done this... ;)