[Quality Border] For WorldQuest
hobulian opened this issue ยท 8 comments
Some world quest seems to have it's own quality(example of worldbosses[heroic] or some quests at maw[unique]). But it's bordering color function is now absent. I think It's good to be added.
hooksecurefunc("GameTooltip_AddQuestTimeToTooltip", GTT_AddQuestTimeToTooltip);
-- AddC Quality Border for WorldQuests
local function GTT_AddQuestTimeToTooltip(self,id)
if (cfg.if_enable) and (not tipDataAdded[self]) then
local tagInfo = C_QuestLog.GetQuestTagInfo(id);
-- Quality Border
if (cfg.if_itemQualityBorder) and (tagInfo and tagInfo.quality) then
local difficultyColorMixin = CreateColor(GetItemQualityColor((tagInfo.quality == 1 and 3) or (tagInfo.quality == 2 and 4) or 1));
ttif:SetBackdropBorderColor(self, difficultyColorMixin:GetRGBA());
tipDataAdded[self] = "quest";
end
end
end
I manually added those stuff. And seems it's working. hope this will be helpful.
I added a hook to VignettePinMixin:OnMouseEnter() for special events in maw (which I saw some day) and committed it to main-branch. Does this solve the problem either completely or partially?
As i refer special events in maw meant weekly quest like
"Wrath of the Jailer" then yes.
But It didn't changed Worldquest's qualityborder and #7
https://imgur.com/a/7H9uKo5
What i meant
"worldbosses[heroic] " was like worldquest
https://ko.wowhead.com/quest=64531/%EB%AA%A8%EB%A5%B4%EC%A0%9C%EC%8A%A4
which has quest quality of heroic(purple).
"some quests at maw[unique]" was like worldquest
https://ko.wowhead.com/quest=64273/%EC%A0%80%EC%8A%B9%EC%82%B4%EC%9D%B4-%ED%87%B4%EC%B9%98-%EC%9E%91%EC%97%85
which has quest quality of rare(blue).
I subsequently added border color and infos for tracker of addon WorldQuestTracker, too.