Skip to content

Commit 2446fff

Browse files
committed
adding icicles support
1 parent eddfebe commit 2446fff

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

Core.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ cPointDisplay.Types = {
2525
["MAGE"] = {
2626
name = "Mage",
2727
points = {
28-
[1] = {name = "Arcane Charges", id = "ac", barcount = 4}
28+
[1] = {name = "Arcane Charges", id = "ac", barcount = 4},
29+
[2] = {name = "Icicles", id = "ic", barcount = 5}
2930
}
3031
},
3132
["MONK"] = {
@@ -549,10 +550,12 @@ function cPointDisplay:GetPoints(CurClass, CurType)
549550
NewPoints = UnitPower("player", Enum.PowerType.SoulShards)
550551
end
551552
-- Mage
552-
elseif CurClass == "MAGE" and PlayerSpec == SPEC_MAGE_ARCANE then
553+
elseif CurClass == "MAGE" then
553554
-- Arcane Charges
554-
if CurType == "ac" then
555+
if CurType == "ac" and PlayerSpec == SPEC_MAGE_ARCANE then
555556
NewPoints = UnitPower("player", Enum.PowerType.ArcaneCharges)
557+
elseif CurType == "ic" and PlayerSpec == SPEC_MAGE_FROST then
558+
NewPoints = GetBuffCount(148022) -- Icicle buff id
556559
end
557560
end
558561
Points[CurType] = NewPoints

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Then open the renamed file and change the string `nibPointDisplayDB` to `cPointD
1414
- Soul Shards
1515
- Arcane Charges
1616
- Chi
17-
- ~~Mongoose Bite Charges~~ (removed for 8.0)
17+
- *Icicles (new)*
1818

1919
### Requests
2020

cPointDisplay.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: |cFFFF9933c|rPointDisplay
33
## Author: Nibelheim, ChronosSF
44
## Notes: Customizable graphical point display (Combo Points, Holy Power, Soul Shards, etc.). Fan update of nibPointDisplay by Nibelheim.
5-
## Version: 8.0.0
5+
## Version: 8.0.3
66
## SavedVariables: cPointDisplayDB
77
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
88

0 commit comments

Comments
 (0)