More spell reflection implementations

- added reflected spells in the player tooltip.
- added reflected spell in the player details window.
- reflection spells like Warrior's Spell Reflection now has a new spell school called "Reflection".
- soft tooltips and player details window improvements.
- damage spell object now has the member 'extra' which is a table that can store hash data.
- profile.tooltip.tooltip_max_abilities won't be forced to 6 any more, to set your own amount of spells shown on tooltips use:
/run Details.tooltip.tooltip_max_abilities = number;
This commit is contained in:
Tercio Jose
2020-06-01 20:51:48 -03:00
parent b9be3bbf39
commit fedfe341a3
12 changed files with 309 additions and 171 deletions
+1
View File
@@ -3360,6 +3360,7 @@ do
[124] = {name = STRING_SCHOOL_CHROMATIC, formated = "|cFFC0C0C0" .. STRING_SCHOOL_CHROMATIC .. "|r", hex = "FFC0C0C0", rgb = {192, 192, 192}, decimals = {0.7529, 0.7529, 0.7529}},
[126] = {name = STRING_SCHOOL_MAGIC , formated = "|cFF1111FF" .. STRING_SCHOOL_MAGIC .. "|r", hex = "FF1111FF", rgb = {17, 255, 255}, decimals = {0.0667, 0.0667, 1.0000}},
[127] = {name = STRING_SCHOOL_CHAOS, formated = "|cFFFF1111" .. STRING_SCHOOL_CHAOS .. "|r", hex = "FFFF1111", rgb = {255, 17, 17}, decimals = {1.0000, 0.0667, 0.0667}},
--[[custom]] [1024] = {name = "Reflection", formated = "|cFFFFFFFF" .. "Reflection" .. "|r", hex = "FFFFFFFF", rgb = {255, 255, 255}, decimals = {1, 1, 1}},
}
_detalhes.OverrideSpellSchool = {