Skip to content

Commit

Permalink
Phase indicator in Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Dec 17, 2023
1 parent b868ae8 commit 2a6d150
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ globals = {
"UnitClass",
"UnitIsTapDenied",
"UnitReaction",
"UnitInPhase",
"IsPlayerSpell",
"GetShapeshiftForm",
"CanAccessObject",
Expand Down
2 changes: 1 addition & 1 deletion Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if apiLevel <= 3 then
end
UnitGetTotalAbsorbs = dummy0
UnitGetTotalHealAbsorbs = dummy0
UnitPhaseReason = dummyFalse
UnitPhaseReason = function(unit) return not UnitInPhase(unit) end
HasIncomingSummon = dummyNil
end
if apiLevel <= 2 then
Expand Down
9 changes: 8 additions & 1 deletion config.classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ if playerClass == "PRIEST" then
-- Season of Discovery
-- Prayer of Mending
A{ id = { 401859, 402832, 401882, 401880, 401877, 401863 }, type = "HELPFUL", assignto = set("bar4"), priority = 70, isMine = true, color = { 1, 0, 102/255 }, maxCount = 5, infoType = "COUNT" }

-- Penance
Trace{id = 402289, template = "HealTrace", color = { 52/255, 172/255, 114/255 } }
-- Circle of Healing
Trace{id = 401946, template = "HealTrace", color = { 1, 0.7, 0.35} }


-- Power Word: Fortitude and Prayer of Fortitude
Expand Down Expand Up @@ -300,6 +303,7 @@ end

config.MapIDs = {
-- Classic semi-random map ids, there's no maps in classic anyway
[100] = "Blackfathom Deeps",
[232] = "Molten Core",
[233] = "Zul'Gurub",
[247] = "Ruins of Ahn'Qiraj",
Expand All @@ -311,6 +315,9 @@ config.MapIDs = {
}

config.defaultDebuffHighlights = {
["Blackfathom Deeps"] = {
[404806] = { 404806, 1, "Baron Aquanis, Depth Charge" },
},
["Naxxramas"] = {
[27808] = { 27808, 3, "Kel'Thuzad, Frost Blast" },
[28622] = { 28622, 1, "Maexxna, Web Wrap" },
Expand Down

0 comments on commit 2a6d150

Please sign in to comment.