Compare commits
1 Commits
main
...
giedrius-t
Author | SHA1 | Date | |
---|---|---|---|
|
dc5601e66f |
@ -26,11 +26,11 @@ local LibStub = LibStub
|
|||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
local MAJOR, MINOR = "Gladdy", 15
|
local MAJOR, MINOR = "Gladdy", 12
|
||||||
local Gladdy = LibStub:NewLibrary(MAJOR, MINOR)
|
local Gladdy = LibStub:NewLibrary(MAJOR, MINOR)
|
||||||
local L
|
local L
|
||||||
Gladdy.version_major_num = 2
|
Gladdy.version_major_num = 2
|
||||||
Gladdy.version_minor_num = 0.27
|
Gladdy.version_minor_num = 0.24
|
||||||
Gladdy.version_num = Gladdy.version_major_num + Gladdy.version_minor_num
|
Gladdy.version_num = Gladdy.version_major_num + Gladdy.version_minor_num
|
||||||
Gladdy.version_releaseType = RELEASE_TYPES.release
|
Gladdy.version_releaseType = RELEASE_TYPES.release
|
||||||
Gladdy.version = PREFIX .. string.format("%.2f", Gladdy.version_num) .. "-" .. Gladdy.version_releaseType
|
Gladdy.version = PREFIX .. string.format("%.2f", Gladdy.version_num) .. "-" .. Gladdy.version_releaseType
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
## Title: Gladdy |cFFFF0000 game client not supported|r
|
## Title: Gladdy |cFFFF0000 game client not supported|r
|
||||||
## Version: 2.27-Release
|
## Version: 2.24-Release
|
||||||
## Notes: The most powerful arena AddOn for WoW Classic TBC/WotLK
|
## Notes: The most powerful arena AddOn for WoW Classic TBC/WotLK
|
||||||
## Author: XiconQoo, DnB_Junkee, Knall
|
## Author: XiconQoo, DnB_Junkee, Knall
|
||||||
## X-Email: contact me on discord Knall#1751
|
## X-Email: contact me on discord Knall#1751
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Interface: 20504
|
## Interface: 20504
|
||||||
## Title: Gladdy - TBC
|
## Title: Gladdy - TBC
|
||||||
## Version: 2.27-Release
|
## Version: 2.24-Release
|
||||||
## Notes: The most powerful arena AddOn for WoW 2.5.4
|
## Notes: The most powerful arena AddOn for WoW 2.5.4
|
||||||
## Author: XiconQoo, DnB_Junkee, Knall
|
## Author: XiconQoo, DnB_Junkee, Knall
|
||||||
## X-Email: contact me on discord Knall#1751
|
## X-Email: contact me on discord Knall#1751
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Interface: 30402
|
## Interface: 30402
|
||||||
## Title: Gladdy - WotLK
|
## Title: Gladdy - WotLK
|
||||||
## Version: 2.27-Release
|
## Version: 2.24-Release
|
||||||
## Notes: The most powerful arena AddOn for WoW 3.4.2
|
## Notes: The most powerful arena AddOn for WoW 3.4.2
|
||||||
## Author: XiconQoo, DnB_Junkee, Knall
|
## Author: XiconQoo, DnB_Junkee, Knall
|
||||||
## X-Email: contact me on discord Knall#1751
|
## X-Email: contact me on discord Knall#1751
|
||||||
|
@ -173,6 +173,7 @@ Debuff({ 20170 } ,{ buffType = "physical", }, "PALADIN") -- Seal of Justice stun
|
|||||||
Debuff({ 63529 } ,{ buffType = "magic", }, "PALADIN") -- Shield of the Templar
|
Debuff({ 63529 } ,{ buffType = "magic", }, "PALADIN") -- Shield of the Templar
|
||||||
Debuff({ 61840 } ,{ buffType = "magic", }, "PALADIN") -- Righteous Vengeance
|
Debuff({ 61840 } ,{ buffType = "magic", }, "PALADIN") -- Righteous Vengeance
|
||||||
Debuff({ 10326 }, { buffType = "magic"}, "PALADIN") -- Turn Evil
|
Debuff({ 10326 }, { buffType = "magic"}, "PALADIN") -- Turn Evil
|
||||||
|
Debuff({ 31803 }, { buffType = "magic"}, "PALADIN") -- Holy Vengeance
|
||||||
|
|
||||||
|
|
||||||
-------------
|
-------------
|
||||||
|
@ -203,15 +203,13 @@ end
|
|||||||
function TotemPlates:NAME_PLATE_UNIT_REMOVED(unitID)
|
function TotemPlates:NAME_PLATE_UNIT_REMOVED(unitID)
|
||||||
local nameplate = C_NamePlate.GetNamePlateForUnit(unitID)
|
local nameplate = C_NamePlate.GetNamePlateForUnit(unitID)
|
||||||
self.activeTotemNameplates[unitID] = nil
|
self.activeTotemNameplates[unitID] = nil
|
||||||
|
--self:ToggleAddon(nameplate, true)
|
||||||
if nameplate.gladdyTotemFrame then
|
if nameplate.gladdyTotemFrame then
|
||||||
nameplate.gladdyTotemFrame:Hide()
|
nameplate.gladdyTotemFrame:Hide()
|
||||||
nameplate.gladdyTotemFrame:SetParent(nil)
|
nameplate.gladdyTotemFrame:SetParent(nil)
|
||||||
tinsert(self.totemPlateCache, nameplate.gladdyTotemFrame)
|
tinsert(self.totemPlateCache, nameplate.gladdyTotemFrame)
|
||||||
nameplate.gladdyTotemFrame = nil
|
nameplate.gladdyTotemFrame = nil
|
||||||
end
|
end
|
||||||
if (self.addon == "ElvUI") then
|
|
||||||
self:ToggleAddon(nameplate, true)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
@ -375,25 +373,23 @@ function TotemPlates:ToggleAddon(nameplate, show)
|
|||||||
local addonFrames = { self:GetAddonFrame(nameplate) }
|
local addonFrames = { self:GetAddonFrame(nameplate) }
|
||||||
if addonFrames and #addonFrames > 0 then
|
if addonFrames and #addonFrames > 0 then
|
||||||
if show then
|
if show then
|
||||||
for _, frame in ipairs(addonFrames) do
|
for _,v in ipairs(addonFrames) do
|
||||||
if frame.UpdateAllElements then
|
if nameplate.unitFrame and nameplate.unitFrame.UpdateAllElements then
|
||||||
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_ADDED - nameplate.unitFrame:UpdateAllElements")
|
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_ADDED - nameplate.unitFrame:UpdateAllElements")
|
||||||
frame:Show()
|
nameplate.unitFrame:UpdateAllElements("NAME_PLATE_UNIT_ADDED")
|
||||||
frame:UpdateAllElements("NAME_PLATE_UNIT_ADDED")
|
|
||||||
else
|
else
|
||||||
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_ADDED - Show")
|
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_ADDED - Show")
|
||||||
frame:Show()
|
v:Show()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
for _, frame in ipairs(addonFrames) do
|
for _,v in ipairs(addonFrames) do
|
||||||
if frame.UpdateAllElements then
|
if nameplate.unitFrame and nameplate.unitFrame.UpdateAllElements then
|
||||||
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_REMOVED - nameplate.unitFrame:UpdateAllElements")
|
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_REMOVED - nameplate.unitFrame:UpdateAllElements")
|
||||||
frame:UpdateAllElements("NAME_PLATE_UNIT_REMOVED")
|
nameplate.unitFrame:UpdateAllElements("NAME_PLATE_UNIT_REMOVED")
|
||||||
frame:Hide()
|
|
||||||
else
|
else
|
||||||
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_REMOVED - Hide")
|
Gladdy:Debug("INFO", "TotemPlates:ToggleAddon - NAME_PLATE_UNIT_REMOVED - Hide")
|
||||||
frame:Hide()
|
v:Hide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -406,7 +402,7 @@ function TotemPlates.OnUpdate(self)
|
|||||||
else
|
else
|
||||||
self.selectionHighlight:SetAlpha(0)
|
self.selectionHighlight:SetAlpha(0)
|
||||||
end
|
end
|
||||||
if (TotemPlates.addon == "Plater" or TotemPlates.addon == "Tukui") and self.parent and self.parent.unitFrame then
|
if (TotemPlates.addon == "Plater" or TotemPlates.addon == "Tukui" or TotemPlates.addon == "ElvUI") and self.parent and self.parent.unitFrame then
|
||||||
self.parent.unitFrame:Hide()
|
self.parent.unitFrame:Hide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -458,7 +454,7 @@ function TotemPlates:OnUnitEvent(unitID)
|
|||||||
nameplate.gladdyTotemFrame.parent = nameplate
|
nameplate.gladdyTotemFrame.parent = nameplate
|
||||||
nameplate.gladdyTotemFrame:Show()
|
nameplate.gladdyTotemFrame:Show()
|
||||||
TotemPlates:SetTotemAlpha(nameplate.gladdyTotemFrame, unitID)
|
TotemPlates:SetTotemAlpha(nameplate.gladdyTotemFrame, unitID)
|
||||||
self:ToggleAddon(nameplate, false)
|
self:ToggleAddon(nameplate)
|
||||||
self.activeTotemNameplates[unitID] = nameplate
|
self.activeTotemNameplates[unitID] = nameplate
|
||||||
elseif totemDataEntry and not Gladdy.db.npTotemColors["totem" .. totemDataEntry.id].enabled and Gladdy.db.npTotemsHideDisabledTotems then
|
elseif totemDataEntry and not Gladdy.db.npTotemColors["totem" .. totemDataEntry.id].enabled and Gladdy.db.npTotemsHideDisabledTotems then
|
||||||
if nameplate.gladdyTotemFrame then
|
if nameplate.gladdyTotemFrame then
|
||||||
@ -467,7 +463,7 @@ function TotemPlates:OnUnitEvent(unitID)
|
|||||||
tinsert(self.totemPlateCache, nameplate.gladdyTotemFrame)
|
tinsert(self.totemPlateCache, nameplate.gladdyTotemFrame)
|
||||||
nameplate.gladdyTotemFrame = nil
|
nameplate.gladdyTotemFrame = nil
|
||||||
end
|
end
|
||||||
self:ToggleAddon(nameplate, false)
|
self:ToggleAddon(nameplate)
|
||||||
else
|
else
|
||||||
self:ToggleAddon(nameplate, true)
|
self:ToggleAddon(nameplate, true)
|
||||||
end
|
end
|
||||||
|
12
README.md
12
README.md
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## [v2.27-Release Download Here](https://github.com/XiconQoo/Gladdy-TBC/releases/download/v2.27-Release/Gladdy_Classic_v2.27-Release.zip)
|
## [v2.24-Release Download Here](https://github.com/XiconQoo/Gladdy-TBC/releases/download/v2.24-Release/Gladdy_Classic_v2.24-Release.zip)
|
||||||
|
|
||||||
###### <a target="_blank" rel="noopener noreferrer" href="https://www.paypal.me/xiconqoo/10"><img src="https://raw.githubusercontent.com/XiconQoo/Gladdy/readme-media/Paypal-Donate.png" height="30" style="margin-top:-30px;position:relative;top:20px;"></a> Please consider donating if you like my work
|
###### <a target="_blank" rel="noopener noreferrer" href="https://www.paypal.me/xiconqoo/10"><img src="https://raw.githubusercontent.com/XiconQoo/Gladdy/readme-media/Paypal-Donate.png" height="30" style="margin-top:-30px;position:relative;top:20px;"></a> Please consider donating if you like my work
|
||||||
|
|
||||||
@ -61,7 +61,6 @@ The goal is to make Gladdy highly configurable in it's appearance. Everything ca
|
|||||||
- [dfherr](https://github.com/dfherr)
|
- [dfherr](https://github.com/dfherr)
|
||||||
- [miraage](https://github.com/miraage)
|
- [miraage](https://github.com/miraage)
|
||||||
- [veiz](https://github.com/veiz)
|
- [veiz](https://github.com/veiz)
|
||||||
- [Flamanis](https://github.com/Flamanis)
|
|
||||||
|
|
||||||
Thank you!
|
Thank you!
|
||||||
|
|
||||||
@ -81,15 +80,6 @@ Thank you!
|
|||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
### v2.27-Release
|
|
||||||
- fix TotemPlates interfering with NeatPlates
|
|
||||||
|
|
||||||
### v2.26-Release
|
|
||||||
- fix TotemPlates interfering with Plater (thanks again [Flamanis](https://github.com/Flamanis))
|
|
||||||
|
|
||||||
### v2.25-Release
|
|
||||||
- fix TotemPlates interfering with ElvUI (thanks [Flamanis](https://github.com/Flamanis))
|
|
||||||
|
|
||||||
### v2.24-Release
|
### v2.24-Release
|
||||||
- fix for WotLK v30402 (update libs)
|
- fix for WotLK v30402 (update libs)
|
||||||
- update DRList
|
- update DRList
|
||||||
|
Loading…
Reference in New Issue
Block a user