From a6c482d2afbf09522f99c7fabdd0cb7a2f1d70d9 Mon Sep 17 00:00:00 2001 From: Scott King Date: Wed, 1 Jul 2015 23:04:40 -0600 Subject: [PATCH] Added test sound files --- PortraitHealth.lua | 2 ++ 1 file changed, 2 insertions(+) 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); -- 1.7.9.5