Author: Omega
Date: Mon Jul 05 04:46:03 CEST 2010
Revision: 4293
Log:

#Ruby/Baltharus: he only splits twice on 25 man now not 3 times, changed it to account for this and new percents he splits at on 25 man

Updated
trunk/DBM-ChamberOfAspects/Ruby/Baltharus.lua

trunk/DBM-ChamberOfAspects/Ruby/Baltharus.lua
Action: modified
Old revision: 4292
Old date: 2010-07-05 00:48:58 UTC

@@ -107,16 +107,18 @@
end

function mod:UNIT_HEALTH(uId)
- if not warnedSplit2 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.54 then
- warnedSplit2 = true
- warningSplitSoon:Show()
- elseif (mod:IsDifficulty("normal25") or mod:IsDifficulty("heroic25")) then
- if not warnedSplit1 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.79 then
+ if (mod:IsDifficulty("normal25") or mod:IsDifficulty("heroic25")) then
+ if not warnedSplit1 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.70 then
warnedSplit1 = true
warningSplitSoon:Show()
- elseif not warnedSplit3 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.29 then
+ elseif not warnedSplit3 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.37 then
warnedSplit3 = true
warningSplitSoon:Show()
end
+ else
+ if not warnedSplit2 and self:GetUnitCreatureId(uId) == 39751 and UnitHealth(uId) / UnitHealthMax(uId) <= 0.54 then
+ warnedSplit2 = true
+ warningSplitSoon:Show()
end
+ end
end
\ No newline at end of file