Co-authored-by: Szyler <Szyler@Szyler.com>
This commit is contained in:
Szyler
2024-03-03 19:23:13 +01:00
committed by GitHub
parent 00255736e5
commit dc8afd6584
53 changed files with 2770 additions and 301 deletions
+6 -5
View File
@@ -96,27 +96,28 @@ function mod:UNIT_HEALTH(uId)
if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.80 and prePhase ==0 then
warnIntermissionSoon:Show()
prePhase = 1
end
-- end
--if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.753 and phase ==0 then
--self:ScheduleMethod(0,"Intermission")
--phase = 1
--end
if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.55 and prePhase ==1 then
elseif self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.55 and prePhase ==1 then
warnIntermissionSoon:Show()
prePhase = 2
end
-- end
--if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.503 and phase ==1 then
-- self:ScheduleMethod(0,"Intermission")
-- phase = 2
--end
if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.30 and prePhase ==2 then
elseif self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.30 and prePhase ==2 then
warnIntermissionSoon:Show()
prePhase = 3
end
-- end
--if self:GetUnitCreatureId(uId) == 15954 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.253 and phase ==2 then
-- self:ScheduleMethod(0,"Intermission")
-- phase = 3
--end
end
end
function mod:CHAT_MSG_RAID_BOSS_EMOTE(msg)