Skip to content

Commit 17d3e0a

Browse files
committed
Initial mongoose bite charges implementation.
1 parent 45dcf57 commit 17d3e0a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Core.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ cPointDisplay.Types = {
2626
points = {
2727
[1] = {name = "Arcane Charges", id = "ac", barcount = 4}
2828
}
29+
},
30+
["HUNTER"] = {
31+
name = "Hunter",
32+
points = {
33+
[1] = {name = "Mongoose Bite Charges", id = "mb", barcount = 3}
34+
}
2935
}
3036
}
3137
local Types = cPointDisplay.Types
@@ -534,6 +540,12 @@ function cPointDisplay:GetPoints(CurClass, CurType)
534540
NewPoints = UnitPower("player", SPELL_POWER_ARCANE_CHARGES)
535541
end
536542
end
543+
-- Hunter
544+
elseif CurClass == "HUNTER" and PlayerSpec == SPEC_HUNTER_SURVIVAL then
545+
-- Mongoose Bite Charges
546+
if CurType == "mb" then
547+
NewPoints = GetSpellCharges(190928)
548+
end
537549
Points[CurType] = NewPoints
538550
end
539551

0 commit comments

Comments
 (0)