From 8121cf3c6c88c649492165e41d2ce2f60167eb94 Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Sun, 20 Jun 2021 14:01:03 +0200 Subject: [PATCH 1/2] nature's grasp added to auras --- Constants.lua | 7 +++++++ Modules/Auras.lua | 12 ++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Constants.lua b/Constants.lua index e5826a2..9fb88fa 100644 --- a/Constants.lua +++ b/Constants.lua @@ -182,6 +182,13 @@ local importantAuras = { root = true, spellID = 26989, }, + [select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689))] = { + track = AURA_TYPE_DEBUFF, + duration = 10, + priority = 30, + spellID = 27010, + altName = select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689)), + }, -- Feral Charge [GetSpellInfo(16979)] = { track = AURA_TYPE_DEBUFF, diff --git a/Modules/Auras.lua b/Modules/Auras.lua index 73bd710..1178cb5 100644 --- a/Modules/Auras.lua +++ b/Modules/Auras.lua @@ -275,10 +275,11 @@ function Auras:Test(unit) self:AURA_GAIN(unit,AURA_TYPE_DEBUFF, 7922, spellName, icon, self.auras[spellName].duration, GetTime() + self.auras[spellName].duration) self:SPELL_INTERRUPT(unit,19244, select(1, GetSpellInfo(19244)), "physical", 25396, select(1, GetSpellInfo(25396)), 64) elseif (unit == "arena2") then - spellName, _, icon = GetSpellInfo(6770) + spellName = select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689)) + _, _, icon = GetSpellInfo(27010) self:AURA_FADE(unit, AURA_TYPE_BUFF) self:AURA_FADE(unit,AURA_TYPE_DEBUFF) - self:AURA_GAIN(unit,AURA_TYPE_DEBUFF, 6770, spellName, icon, self.auras[spellName].duration, GetTime() + self.auras[spellName].duration) + self:AURA_GAIN(unit,AURA_TYPE_DEBUFF, 27010, spellName, icon, self.auras[spellName].duration, GetTime() + self.auras[spellName].duration) self:SPELL_INTERRUPT(unit,19244, select(1, GetSpellInfo(19244)), "physical", 25396, select(1, GetSpellInfo(25396)), 64) elseif (unit == "arena3") then spellName, _, icon = GetSpellInfo(31224) @@ -618,9 +619,12 @@ function Auras:GetAuraOptions(auraType) for i,k in ipairs(auras) do options[tostring(k)] = { type = "group", - name = Gladdy:GetImportantAuras()["Unstable Affliction Silence"] + name = (Gladdy:GetImportantAuras()["Unstable Affliction Silence"] and Gladdy:GetImportantAuras()["Unstable Affliction Silence"].spellID == k - and Gladdy:GetImportantAuras()["Unstable Affliction Silence"].altName + and Gladdy:GetImportantAuras()["Unstable Affliction Silence"].altName) + or (Gladdy:GetImportantAuras()[select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689))] + and Gladdy:GetImportantAuras()[select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689))].spellID == k + and Gladdy:GetImportantAuras()[select(1, GetSpellInfo(27010)) .. " " .. select(1, GetSpellInfo(16689))].altName) or GetSpellInfo(k), order = i+2, icon = Gladdy:GetImportantAuras()[GetSpellInfo(k)] and Gladdy:GetImportantAuras()[GetSpellInfo(k)].texture or select(3, GetSpellInfo(k)), From ca211e047f8dca5ba6e840343fc816c0e9094ba3 Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Sun, 20 Jun 2021 14:02:26 +0200 Subject: [PATCH 2/2] bump version and readme --- Gladdy.lua | 2 +- Gladdy.toc | 2 +- README.md | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Gladdy.lua b/Gladdy.lua index fd41984..ebaf2db 100644 --- a/Gladdy.lua +++ b/Gladdy.lua @@ -25,7 +25,7 @@ local MAJOR, MINOR = "Gladdy", 4 local Gladdy = LibStub:NewLibrary(MAJOR, MINOR) local L Gladdy.version_major_num = 1 -Gladdy.version_minor_num = 0.14 +Gladdy.version_minor_num = 0.15 Gladdy.version_num = Gladdy.version_major_num + Gladdy.version_minor_num Gladdy.version_releaseType = RELEASE_TYPES.beta Gladdy.version = PREFIX .. Gladdy.version_num .. "-" .. Gladdy.version_releaseType diff --git a/Gladdy.toc b/Gladdy.toc index d7710d4..2c77fda 100644 --- a/Gladdy.toc +++ b/Gladdy.toc @@ -1,6 +1,6 @@ ## Interface: 20501 ## Title: Gladdy - TBC -## Version: 1.14-Beta +## Version: 1.15-Beta ## Notes: The most powerful arena AddOn for WoW 2.5.1 ## Author: XiconQoo, DnB_Junkee, Knall ## X-Email: contact me on discord Knall#1751 diff --git a/README.md b/README.md index 392d09b..e1a35a7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Gladdy - TBC ### The most powerful arena addon for WoW TBC 2.5.1 -## [v1.14-Beta Download Here](https://github.com/XiconQoo/Gladdy-TBC/releases/download/v1.14-Beta/Gladdy_TBC-Classic_v1.14-Beta.zip) +## [v1.15-Beta Download Here](https://github.com/XiconQoo/Gladdy-TBC/releases/download/v1.15-Beta/Gladdy_TBC-Classic_v1.15-Beta.zip) ###### Please consider donating if you like my work @@ -62,6 +62,9 @@ The goal is to make Gladdy highly configurable in it's appearance. Everything ca ### Changes +### v1.15-Beta +- hotfix added entangling roots nature's grasp + ### v1.14-Beta - hotfix for secure button grow direction up