- Added new sub attribute for Heal: Enemy Heal.

- Added new sub attribute for Heal: Damage Prevented.
- Added new sub attribute for Misc: Cooldowns.
- All tooltips has been revised and changed.
- Fixed issue with absobed heal amount.
- Actors will be placed inside cache only if Details is in combat.
- Added support to dual status bar on CoolTips.
- Fixed some labels over info window were text was to big.
- Cosmetic changes in many places.
This commit is contained in:
Tercio
2013-09-01 18:27:16 -03:00
parent 225980313a
commit 3f45e83047
34 changed files with 1813 additions and 189 deletions
+16 -7
View File
@@ -22,7 +22,7 @@ do
--[[ HEALING ]]
cura = 2, --> identifier
[2] = 4, --> sub attributes
[2] = 6, --> sub attributes
--[[ ENERGY ]]
e_energy = 3,--> identifier
@@ -30,7 +30,7 @@ do
--[[ MISC ]]
misc = 4, --> identifier
[4] = 5, --> sub attributes
[4] = 6, --> sub attributes
--[[ CUSTOM ]]
custom = 5,
@@ -76,20 +76,26 @@ do
hps = 2,
overheal = 3,
healing_tanken = 4,
heal_enemy_amt = 5,
totalabsorb = 6,
lista = { --[[ String Names ]]
Loc ["STRING_ATTRIBUTE_HEAL_DONE"],
Loc ["STRING_ATTRIBUTE_HEAL_HPS"],
Loc ["STRING_ATTRIBUTE_HEAL_OVERHEAL"],
Loc ["STRING_ATTRIBUTE_HEAL_TAKEN"]
Loc ["STRING_ATTRIBUTE_HEAL_TAKEN"],
Loc ["STRING_ATTRIBUTE_HEAL_ENEMY"],
Loc ["STRING_ATTRIBUTE_HEAL_PREVENT"],
},
icones = {
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {0, .125, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {.125, .25, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {.25, .375, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {.375, .5, 0, 1}}
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {.375, .5, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {.5, 0.625, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_heal", {0.625, 0.75, 0, 1}}
},
internal = {"total", "last_hps", "totalover", "healing_taken"}
internal = {"total", "last_hps", "totalover", "healing_taken", "heal_enemy_amt", "totalabsorb"}
},
{
@@ -120,21 +126,24 @@ do
kick = 3,
dispell = 4,
deaths = 5,
cooldowns_defensive = 6,
lista = { --[[ String Names ]]
Loc ["STRING_ATTRIBUTE_MISC_CCBREAK"],
Loc ["STRING_ATTRIBUTE_MISC_RESS"],
Loc ["STRING_ATTRIBUTE_MISC_INTERRUPT"],
Loc ["STRING_ATTRIBUTE_MISC_DISPELL"],
Loc ["STRING_ATTRIBUTE_MISC_DEAD"],
Loc ["STRING_ATTRIBUTE_MISC_DEFENSIVE_COOLDOWNS"],
},
icones = {
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {0, .125, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.125, .25, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.25, .375, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.375, .5, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.5, .625, 0, 1}}
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.5, .625, 0, 1}},
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.625, 0.75, 0, 1}}
},
internal = {"cc_break", "ress", "interrupt", "dispell", "dead"}
internal = {"cc_break", "ress", "interrupt", "dispell", "dead", "cooldowns_defensive"}
}
}
+13
View File
@@ -19,6 +19,9 @@ function _detalhes:SaveDataOnLogout()
--> get data
-- On Character
--> nicktag cache
_detalhes_database.nick_tag_cache = _detalhes.nick_tag_cache
--> save instances (windows)
_detalhes_database.tabela_instancias = _detalhes.tabela_instancias
@@ -137,6 +140,9 @@ end --]]
if (_detalhes_database) then
--> nicktag cache
_detalhes.nick_tag_cache = _detalhes_database.nick_tag_cache or {}
_detalhes:NickTagSetCache (_detalhes.nick_tag_cache)
--> build basic containers
_detalhes.tabela_historico = _detalhes_database.tabela_historico or _detalhes.historico:NovoHistorico() -- segments
@@ -240,6 +246,13 @@ end --]]
-- version
_detalhes.last_realversion = _detalhes_database.last_realversion or _detalhes.realversion
if (_detalhes.last_realversion < _detalhes.realversion) then
--> details was been hard upgraded
_detalhes.tabela_historico = _detalhes.historico:NovoHistorico()
_detalhes.tabela_pets = _detalhes.container_pets:NovoContainer()
_detalhes.tabela_overall = _detalhes.combate:NovaTabela()
_detalhes.tabela_vigente = _detalhes.combate:NovaTabela (_, _detalhes.tabela_overall)
end
else
_detalhes.tabela_instancias = {}
+85
View File
@@ -367,6 +367,91 @@ do
}
_detalhes.DefensiveCooldownSpells = {
--> spellid = {cooldown, duration}
-- Death Knigh
[55233] = {60, 10}, -- Vampiric Blood
[49222] = {60, 300}, -- Bone Shield
[48707] = {45, 5}, -- Anti-Magic Shell
[48792] = {180, 12}, -- Icebound Fortitude
[48743] = {120, 0}, -- Death Pact
[49039] = {12, 10}, -- Lichborne
["DEATHKNIGHT"] = {55233, 49222, 48707, 48792, 48743, 49039},
-- Druid
[62606] = {1.5, 6}, -- Savage Defense
[106922] = {180, 20}, -- Might of Ursoc
[102342] = {60, 12}, -- Ironbark
[61336] = {180, 12}, -- Survival Instincts
[22812] = {60, 12}, -- Barkskin
["DRUID"] = {62606, 106922, 102342, 61336, 22812},
-- Hunter
[19263] = {120, 5}, -- Deterrence
["HUNTER"] = {19263},
-- Mage
[45438] = {300, 12}, -- Ice Block
["MAGE"] = {45438},
-- Monk
[115295] = {30, 30}, -- Guard
[115203] = {180, 20}, -- Fortifying Brew
[122470] = {90, 10}, -- Touch of Karma
[115176] = {180, 8}, -- Zen Meditation
[116849] = {120, 12}, -- Life Cocoon
[115213] = {180, 6}, -- Avert Harm
[122278] = {90, 45}, -- Dampen Harm
[122783] = {90, 6}, -- Diffuse Magic
["MONK"] = {115295, 115203, 122470, 115176, 116849, 115213, 122278, 122783},
-- Paladin
[86659] = {180, 12}, -- Guardian of Ancient Kings
[31850] = {180, 10}, -- Ardent Defender
[498] = {60, 10}, -- Divine Protection
[642] = {300, 8}, -- Divine Shield
[6940] = {120, 12}, -- Hand of Sacrifice
[1022] = {300, 10}, -- Hand of Protection
[1038] = {120, 10}, -- Hand of Salvation
["PALADIN"] = {86659, 31850, 498, 642, 6940, 1022, 1038},
-- Priest
[15286] = {180, 15}, -- Vampiric Embrace
[47788] = {180, 10}, -- Guardian Spirit
[47585] = {120, 6}, -- Dispersion
[33206] = {180, 8}, -- Pain Suppression
["PRIEST"] = {15286, 47788, 47585, 33206},
-- Rogue
[1966] = {1.5, 5}, -- Feint
[31224] = {60, 5}, -- Cloak of Shadows
[5277] = {180, 15}, -- Evasion
["ROGUE"] = {1966, 31224, 5277},
-- Shaman
[30823] = {60, 15}, -- Shamanistic Rage
[108271] = {120, 6}, -- Astral Shift
[108270] = {60, 5}, -- Stone Bulwark Totem
["SHAMAN"] = {30823, 108271, 108270},
-- Warlock
[104773] = {180, 8}, -- Unending Resolve
[108359] = {120, 12}, -- Dark Regeneration
[108416] = {60, 20}, -- Sacrificial Pact
[110913] = {180, 8}, -- Dark Bargain
["WARLOCK"] = {104773, 108359, 108416, 110913},
-- Warrior
[871] = {180, 12}, -- Shield Wall
[12975] = {180, 20}, -- Last Stand
[23920] = {25, 5}, -- Spell Reflection
[114030] = {120, 12}, -- Vigilance
[118038] = {120, 8}, -- Die by the Sword
["WARRIOR"] = {871, 12975, 23920, 114030, 118038}
}
local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
_detalhes.SpellOverwrite = {
[124464] = {name = GetSpellInfo (124464) .. " (" .. Loc ["STRING_MASTERY"] .. ")"}, --> shadow word: pain mastery proc