Added test sound files
Scott King [07-02-15 - 05:04]
diff --git a/PortraitHealth.lua b/PortraitHealth.lua
index 455a0c8..262e53a 100755
--- a/PortraitHealth.lua
+++ b/PortraitHealth.lua
@@ -70,6 +70,7 @@ function HealthPercentage()
if PlayerClass == 1 and TargetPercentHealth < 20 then -- Warrior
PortraitHealth_Health:SetTextColor(1,0,0);
+ PlaySoundFile("Sound\\interface\\AuctionWindowClose.ogg");
elseif PlayerClass == 2 and TargetPercentHealth <= 20 then -- Paladin
PortraitHealth_Health:SetTextColor(1,0,0);
@@ -79,6 +80,7 @@ function HealthPercentage()
elseif PlayerClass == 4 and TargetPercentHealth < 35 then -- Rogue
PortraitHealth_Health:SetTextColor(1,0,0);
+ PlaySoundFile("Sound\\interface\\AuctionWindowClose.ogg");
elseif PlayerClass == 5 and TargetPercentHealth < 20 then -- Priest
PortraitHealth_Health:SetTextColor(1,0,0);