mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: debuff dispel-type border coloring in buff bar
Read DispelType from Spell.dbc (new field in all expansion DBC layouts) and use it to color debuff icon borders: magic=blue, curse=purple, disease=brown, poison=green, other=red. Buffs remain green-bordered. Adds getSpellDispelType() to GameHandler for lazy cache lookup.
This commit is contained in:
parent
9a21e19486
commit
d817e4144c
7 changed files with 45 additions and 7 deletions
|
|
@ -2,7 +2,8 @@
|
|||
"Spell": {
|
||||
"ID": 0, "Attributes": 5, "IconID": 117,
|
||||
"Name": 120, "Tooltip": 147, "Rank": 129, "SchoolEnum": 1,
|
||||
"CastingTimeIndex": 15, "PowerType": 28, "ManaCost": 29, "RangeIndex": 33
|
||||
"CastingTimeIndex": 15, "PowerType": 28, "ManaCost": 29, "RangeIndex": 33,
|
||||
"DispelType": 4
|
||||
},
|
||||
"SpellRange": { "MaxRange": 2 },
|
||||
"ItemDisplayInfo": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
"Spell": {
|
||||
"ID": 0, "Attributes": 5, "IconID": 124,
|
||||
"Name": 127, "Tooltip": 154, "Rank": 136, "SchoolMask": 215,
|
||||
"CastingTimeIndex": 22, "PowerType": 35, "ManaCost": 36, "RangeIndex": 40
|
||||
"CastingTimeIndex": 22, "PowerType": 35, "ManaCost": 36, "RangeIndex": 40,
|
||||
"DispelType": 3
|
||||
},
|
||||
"SpellRange": { "MaxRange": 4 },
|
||||
"ItemDisplayInfo": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
"Spell": {
|
||||
"ID": 0, "Attributes": 5, "IconID": 117,
|
||||
"Name": 120, "Tooltip": 147, "Rank": 129, "SchoolEnum": 1,
|
||||
"CastingTimeIndex": 15, "PowerType": 28, "ManaCost": 29, "RangeIndex": 33
|
||||
"CastingTimeIndex": 15, "PowerType": 28, "ManaCost": 29, "RangeIndex": 33,
|
||||
"DispelType": 4
|
||||
},
|
||||
"SpellRange": { "MaxRange": 2 },
|
||||
"ItemDisplayInfo": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
"Spell": {
|
||||
"ID": 0, "Attributes": 4, "IconID": 133,
|
||||
"Name": 136, "Tooltip": 139, "Rank": 153, "SchoolMask": 225,
|
||||
"PowerType": 14, "ManaCost": 39, "CastingTimeIndex": 47, "RangeIndex": 49
|
||||
"PowerType": 14, "ManaCost": 39, "CastingTimeIndex": 47, "RangeIndex": 49,
|
||||
"DispelType": 2
|
||||
},
|
||||
"SpellRange": { "MaxRange": 4 },
|
||||
"ItemDisplayInfo": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue