Skip to content

Commit

Permalink
3.3.4 added Gift of the Naaru Racial
Browse files Browse the repository at this point in the history
  • Loading branch information
ollidiemaus committed Dec 4, 2023
1 parent a423375 commit 64bd1ff
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AutoPotion.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions Core/DB.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}


Expand Down
23 changes: 23 additions & 0 deletions Core/Spells.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 = {}

Expand Down
4 changes: 2 additions & 2 deletions FrameXML/InterfaceOptionsFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64bd1ff

Please sign in to comment.