From 64bd1ff8c5a2ceaffc24d1c90a8366e246fda814 Mon Sep 17 00:00:00 2001 From: ollidiemaus Date: Mon, 4 Dec 2023 14:26:30 +0100 Subject: [PATCH] 3.3.4 added Gift of the Naaru Racial --- AutoPotion.toc | 2 +- Core/DB.lua | 5 +++-- Core/Spells.lua | 23 +++++++++++++++++++++++ FrameXML/InterfaceOptionsFrame.lua | 4 ++-- 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/AutoPotion.toc b/AutoPotion.toc index 349d1ee..5a0f8d8 100755 --- a/AutoPotion.toc +++ b/AutoPotion.toc @@ -1,7 +1,7 @@ ## Interface: 100200 ## Interface-Classic: 11500 ## Interface-WOTLKC: 30403 -## Version: 3.3.3 +## Version: 3.3.4 ## Title: Auto Potion ## Author: ollidiemaus ## Notes: Updates the Macro AutoPotion to use either Healthstone or the highest Potion found in Bags diff --git a/Core/DB.lua b/Core/DB.lua index 241282a..eadfb3c 100644 --- a/Core/DB.lua +++ b/Core/DB.lua @@ -4,8 +4,9 @@ ham.defaults = { witheringPotion = false, witheringDreamsPotion = false, activatedSpells = { ham.crimsonVialSpell, ham.renewal, ham.exhilaration, ham.fortitudeOfTheBear, ham.bitterImmunity, - ham.desperatePrayer, - ham.healingElixir } + ham.desperatePrayer, ham.healingElixir, ham.giftOfTheNaaruDK, ham.giftOfTheNaaruHunter, ham.giftOfTheNaaruMage, + ham.giftOfTheNaaruMageWarlock, ham.giftOfTheNaaruMonk, ham.giftOfTheNaaruPaladin, ham.giftOfTheNaaruPriest, ham + .giftOfTheNaaruRogue, ham.giftOfTheNaaruShaman, ham.giftOfTheNaaruWarrior } } diff --git a/Core/Spells.lua b/Core/Spells.lua index 015ae4c..7923dab 100755 --- a/Core/Spells.lua +++ b/Core/Spells.lua @@ -9,6 +9,18 @@ ham.desperatePrayer = 19236 ham.expelHarm = 322101 ham.healingElixir = 122281 +--Racials WTF These are all seperate Spells +ham.giftOfTheNaaruDK = 59545 +ham.giftOfTheNaaruHunter = 59543 +ham.giftOfTheNaaruMage = 59548 +ham.giftOfTheNaaruMageWarlock = 416250 +ham.giftOfTheNaaruMonk = 121093 +ham.giftOfTheNaaruPaladin = 59542 +ham.giftOfTheNaaruPriest = 59544 +ham.giftOfTheNaaruRogue = 370626 +ham.giftOfTheNaaruShaman = 59547 +ham.giftOfTheNaaruWarrior = 28880 + ham.supportedSpells = {} table.insert(ham.supportedSpells, ham.crimsonVialSpell) table.insert(ham.supportedSpells, ham.renewal) @@ -18,6 +30,17 @@ table.insert(ham.supportedSpells, ham.bitterImmunity) table.insert(ham.supportedSpells, ham.desperatePrayer) table.insert(ham.supportedSpells, ham.expelHarm) table.insert(ham.supportedSpells, ham.healingElixir) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruDK) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruHunter) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruMage) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruMageWarlock) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruMonk) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruPaladin) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruPriest) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruRogue) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruShaman) +table.insert(ham.supportedSpells, ham.giftOfTheNaaruWarrior) + ham.Spell = {} diff --git a/FrameXML/InterfaceOptionsFrame.lua b/FrameXML/InterfaceOptionsFrame.lua index 6070953..35f852d 100644 --- a/FrameXML/InterfaceOptionsFrame.lua +++ b/FrameXML/InterfaceOptionsFrame.lua @@ -271,10 +271,10 @@ function panel:InitializeOptions() end function panel:InitializeClassSpells(relativeTo) - ------------- CLASSES ------------- + ------------- CLASS / RACIALS ------------- local myClassTitle = self.panel:CreateFontString("ARTWORK", nil, "GameFontNormalHuge") myClassTitle:SetPoint("TOPLEFT", relativeTo, 0, -PADDING_CATERGORY) - myClassTitle:SetText("Class Spells") + myClassTitle:SetText("Class/Racial Spells") local lastbutton = nil local posy = -PADDING