You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: TipTac/ttCore.lua
+31-5
Original file line number
Diff line number
Diff line change
@@ -1874,6 +1874,8 @@ end
1874
1874
1875
1875
-- AddOn Loaded
1876
1876
functiontt:ADDON_LOADED(event, addOnName)
1877
+
if (notcfg) thenreturnend;
1878
+
1877
1879
-- check if addon is already loaded
1878
1880
if (TT_AddOnsLoaded[addOnName] ==nil) or (TT_AddOnsLoaded[addOnName]) then
1879
1881
return;
@@ -1891,7 +1893,7 @@ function tt:ADDON_LOADED(event, addOnName)
1891
1893
end
1892
1894
end
1893
1895
-- now PetJournalPrimaryAbilityTooltip and PetJournalSecondaryAbilityTooltip exist
1894
-
if (addOnName=="Blizzard_Collections") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Collections"))) then
1896
+
if (addOnName=="Blizzard_Collections") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Collections"))and (notTT_AddOnsLoaded['Blizzard_Collections'])) then
1895
1897
pjpatt=PetJournalPrimaryAbilityTooltip;
1896
1898
pjsatt=PetJournalSecondaryAbilityTooltip;
1897
1899
@@ -1905,24 +1907,39 @@ function tt:ADDON_LOADED(event, addOnName)
1905
1907
1906
1908
-- Post-Hook WardrobeCollectionFrame.ItemsCollectionFrame:UpdateItems() to re-anchor tooltip at transmogrifier if "Anchors->Frame Tip Type" = "Mouse Anchor" and selecting items, see WardrobeItemsCollectionMixin:UpdateItems() in "Blizzard_Collections/Blizzard_Wardrobe.lua"
elseif (addOnName=="Blizzard_Communities") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Communities"))) then
1916
+
if (addOnName=="Blizzard_Communities") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Communities")) and (notTT_AddOnsLoaded['Blizzard_Communities'])) then
1910
1917
-- Function to apply necessary hooks to CommunitiesFrame.MemberList.ListScrollFrame to apply class colors
elseif (addOnName=="Blizzard_Contribution") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Contribution"))) then
1929
+
if (addOnName=="Blizzard_Contribution") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Contribution")) and (notTT_AddOnsLoaded['Blizzard_Contribution'])) then
1918
1930
-- Hook Tips & Apply Settings
1919
1931
self:ApplyHooksToTips({
1920
1932
"ContributionBuffTooltip"
1921
1933
}, true, true);
1922
1934
1923
1935
self:ApplySettings();
1936
+
1937
+
if (addOnName=="TipTac") then
1938
+
TT_AddOnsLoaded["Blizzard_Contribution"] =true;
1939
+
end
1940
+
end
1924
1941
-- now EncounterJournalTooltip exists
1925
-
elseif (addOnName=="Blizzard_EncounterJournal") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_EncounterJournal"))) then
1942
+
if (addOnName=="Blizzard_EncounterJournal") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_EncounterJournal")) and (notTT_AddOnsLoaded['Blizzard_EncounterJournal'])) then
1926
1943
ejtt=EncounterJournalTooltip;
1927
1944
1928
1945
-- Hook Tips & Apply Settings
@@ -1932,8 +1949,13 @@ function tt:ADDON_LOADED(event, addOnName)
if (addOnsLoaded[addOnName] ==nil) or (addOnsLoaded[addOnName]) then
58
61
return;
59
62
end
60
63
61
64
-- now CommunitiesGuildNewsFrame exists
62
-
if (addOnName=="Blizzard_Communities") then
65
+
if (addOnName=="Blizzard_Communities") or ((addOnName=="TipTac") and (IsAddOnLoaded("Blizzard_Communities")) and (notaddOnsLoaded['Blizzard_Communities'])) then
Copy file name to clipboardexpand all lines: TipTacItemRef/ttItemRef.lua
+49-8
Original file line number
Diff line number
Diff line change
@@ -1600,13 +1600,15 @@ end
1600
1600
1601
1601
-- AddOn Loaded
1602
1602
functionttif:ADDON_LOADED(event, addOnName)
1603
+
if (notcfg) thenreturnend;
1604
+
1603
1605
-- check if addon is already loaded
1604
1606
if (addOnsLoaded[addOnName] ==nil) or (addOnsLoaded[addOnName]) then
1605
1607
return;
1606
1608
end
1607
1609
1608
1610
-- now AchievementFrameMiniAchievement exists
1609
-
if (addOnName=="Blizzard_AchievementUI") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_AchievementUI"))) then
1611
+
if (addOnName=="Blizzard_AchievementUI") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_AchievementUI"))and (notaddOnsLoaded['Blizzard_AchievementUI'])) then
1610
1612
localABMAhooked= {}; -- see AchievementButton_GetMiniAchievement() in "Blizzard_AchievementUI/Blizzard_AchievementUI.lua"
@@ -1616,8 +1618,13 @@ function ttif:ADDON_LOADED(event, addOnName)
1616
1618
ABMAhooked[frame] =true;
1617
1619
end
1618
1620
end);
1621
+
1622
+
if (addOnName=="TipTac") then
1623
+
addOnsLoaded["Blizzard_AchievementUI"] =true;
1624
+
end
1625
+
end
1619
1626
-- now PetJournalPrimaryAbilityTooltip and PetJournalSecondaryAbilityTooltip exist
1620
-
elseif (addOnName=="Blizzard_Collections") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_Collections"))) then
1627
+
if (addOnName=="Blizzard_Collections") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_Collections")) and (notaddOnsLoaded['Blizzard_Collections'])) then
1621
1628
pjpatt=PetJournalPrimaryAbilityTooltip;
1622
1629
pjsatt=PetJournalSecondaryAbilityTooltip;
1623
1630
@@ -1662,8 +1669,13 @@ function ttif:ADDON_LOADED(event, addOnName)
elseif (addOnName=="Blizzard_Communities") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_Communities"))) then
1678
+
if (addOnName=="Blizzard_Communities") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_Communities")) and (notaddOnsLoaded['Blizzard_Communities'])) then
elseif (addOnName=="Blizzard_EncounterJournal") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_EncounterJournal"))) then
1693
+
if (addOnName=="Blizzard_EncounterJournal") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_EncounterJournal")) and (notaddOnsLoaded['Blizzard_EncounterJournal'])) then
1677
1694
ejtt=EncounterJournalTooltip;
1678
1695
1679
1696
-- Hook Tips & Apply Settings
@@ -1683,8 +1700,13 @@ function ttif:ADDON_LOADED(event, addOnName)
1683
1700
-- }, true, true);
1684
1701
1685
1702
-- self:OnApplyConfig();
1703
+
1704
+
if (addOnName=="TipTac") then
1705
+
addOnsLoaded["Blizzard_EncounterJournal"] =true;
1706
+
end
1707
+
end
1686
1708
-- now GuildNewsButton exists
1687
-
elseif (addOnName=="Blizzard_GuildUI") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_GuildUI"))) then
1709
+
if (addOnName=="Blizzard_GuildUI") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_GuildUI")) and (notaddOnsLoaded['Blizzard_GuildUI'])) then
elseif (addOnName=="Blizzard_PlayerChoice") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_PlayerChoice"))) then
1724
+
if (addOnName=="Blizzard_PlayerChoice") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("Blizzard_PlayerChoice")) and (notaddOnsLoaded['Blizzard_PlayerChoice'])) then
elseif (addOnName=="WorldQuestTracker") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("WorldQuestTracker"))) then
1750
+
if (addOnName=="WorldQuestTracker") or ((addOnName=="TipTacItemRef") and (IsAddOnLoaded("WorldQuestTracker")) and (notaddOnsLoaded['WorldQuestTracker'])) then
1714
1751
localWQTThooked= {}; -- see WorldQuestTracker.GetOrCreateTrackerWidget() in "WorldQuestTracker/WorldQuestTracker_Tracker.lua"
0 commit comments