From 553f437381f20de19f1fd674c79ae3cab34d1b3b Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 20 Jun 2014 01:32:06 +0200 Subject: [PATCH] Show a icon when pet is dead --- tags.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tags.lua b/tags.lua index 446627d..d9ab5d3 100644 --- a/tags.lua +++ b/tags.lua @@ -150,5 +150,7 @@ tags.Methods['p3lim:pet'] = function() if(cur > 0) then local max = UnitHealthMax('pet') return ('%s%d%%|r'):format(Hex(ColorGradient(cur, max, 1, 0, 0, 1, 1, 0, 1, 1, 1)), cur / max * 100) + elseif(UnitIsDead('pet')) then + return '|TInterface\\RaidFrame\\Raid-Icon-DebuffDisease:26|t' end end -- 1.7.9.5