Added more trinkets to the list of trinkets

This commit is contained in:
Tercio Jose
2022-12-05 13:32:10 -03:00
parent 5d04d6c229
commit fd25f6e753
3 changed files with 24 additions and 3 deletions
+8 -2
View File
@@ -6,8 +6,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()
_detalhes.build_counter = 10304
_detalhes.alpha_build_counter = 10304 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 10333
_detalhes.alpha_build_counter = 10333 --if this is higher than the regular counter, use it instead
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. " " .. _detalhes.build_counter
@@ -86,6 +86,12 @@ do
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" )
local news = {
{"v10.0.2.10333.147", "Nov 18th, 2022"},
"Added two checkboxes for Merge Pet and Player spell on the Breakdown window.",
"Added uptime for Hunter's Pet Frenzy Buff, it now show in the 'Auras' tab in the Breakdown Window.",
"/played is showing something new!",
"Options panel now closes by pressing Escape (Flamanis).",
{"v10.0.2.10277.146", "Nov 18th, 2022"},
"REMINDER: '/details coach' to get damage/healing/deaths in real time as the 21st person (coach) for the next raid tier in dragonflight.",
"New Compare tab: recreated from scratch, this new Compare has no player limitation, pets merged, bigger lines.",
+9 -1
View File
@@ -170,7 +170,15 @@ function _detalhes:AbreJanelaInfo (jogador, from_att_change, refresh, ShiftKeyDo
end
end
info:SetPoint("center", _G.UIParent, "center", 0, 0)
local okay = pcall(function()
info:SetPoint("center", _G.UIParent, "center", 0, 0)
end)
if (not okay) then
info:ClearAllPoints()
info:SetPoint("center", _G.UIParent, "center", 0, 0)
end
info:SetUserPlaced(false)
info:SetDontSavePosition(true)
info.bHasInitialized = true
+7
View File
@@ -241,6 +241,13 @@ do
[387036] = {name = GetSpellInfo(387036) .. formatTextForItem(193748)}, --trinket: Kyrakka's Searing Embers (heal)
[397376] = {name = GetSpellInfo(397376) .. formatTextForItem(193748), isPassive = true, itemId = 193748}, --trinket: Kyrakka's Searing Embers (damage)
--[] = {name = GetSpellInfo() .. formatTextForItem(193757), isPassive = true}, --trinket: Ruby Whelp Shell
[214985] = {name = GetSpellInfo(214985) .. formatTextForItem(137486)}, --trinket: Windscar Whetstone
[384004] = {name = GetSpellInfo(384004) .. formatTextForItem(193815)}, --trinket: Homeland Raid Horn
--[] = {name = GetSpellInfo() .. formatTextForItem()}, --trinket: Mutated Magmammoth Scale - did no proc
--/dump C_Item.GetItemNameByID(137486) --to check an item
--default tooltip script gets the item id
}
for spellId, spellCustomization in pairs(dragonflightTrinkets) do