Skip to content

Commit

Permalink
Initial Wrath config
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Aug 23, 2022
1 parent 2fbba45 commit 28f8170
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,44 @@ if APILevel >= 8 then
--Priest
[101398] = { 211522, 12 }, -- Psyfiend
}
elseif APILevel == 3 then
totemNpcIDs = {
-- [npcID] = { spellID, duration }
[2630] = { 2484, 20 }, -- Earthbind
[5925] = { 8177, 45 }, -- Grounding
[3968] = { 6495, 300 }, -- Sentry
[15430] = { 2062, 120 }, -- Earth Elemental Totem
[15439] = { 2894, 120 }, -- Fire Elemental Totem
[15447] = { 3738, 120 }, -- Wrath of Air Totem
[17539] = { 30706, 120 }, -- Totem of Wrath
[5924] = { 8170, 120 }, -- Disease Cleansing Totem
[5923] = { 8166, 120 }, -- Poison Cleansing Totem
[15803] = { 25908, 120 }, -- Tranquil Air Totem
[5913] = { 8143, 120 }, -- Tremor
}
local function addTotem(data, ...)
local numArgs = select("#",...)
for i=1, numArgs do
local npcID = select(i, ...)
totemNpcIDs[npcID] = data
end
end

addTotem({ 5675, 120 }, 3573, 7414, 7415, 7416, 15489) -- Mana Spring Totem
addTotem({ 1535, 5 }, 5879, 6110, 6111, 7844, 7845, 15482, 15483) -- Fire Nova Totem
addTotem({ 8187, 20 }, 5929, 7464, 7465, 7466, 15484) -- Magma Totem
addTotem({ 3599, 60 }, 2523, 3902, 3903, 3904, 7400, 7402, 15480) -- Searing Totem
addTotem({ 5730, 15 }, 3579, 3911, 3912, 3913, 7398, 7399, 15478) -- Stoneclaw Totem
addTotem({ 8184, 120 }, 5927, 7424, 7425, 15487) -- Fire Resistance Totem
addTotem({ 8227, 120 }, 5950, 6012, 7423, 10557, 15485) -- Flametongue Totem
addTotem({ 8181, 120 }, 5926, 7412, 7413, 15486) -- Frost Resistance Totem
addTotem({ 8835, 120 }, 7486, 7487, 15463) -- Grace of Air Totem
addTotem({ 10595, 120 }, 7467, 7468, 7469, 15490) -- Nature Resistance Totem
addTotem({ 8071, 120 }, 5873, 5919, 5920, 7366, 7367, 7368, 15470, 15474) -- Stoneskin Totem
addTotem({ 31634, 300 }, 5874, 5921, 5922, 7403, 15464, 15479) -- Strength of Earth
addTotem({ 8512, 120 }, 6112, 7483, 7484, 15496, 15497) -- Windfury Totem
addTotem({ 15107, 120 }, 9687, 9688, 9689, 15492) -- Windwall Totem
addTotem({ 5394, 120 }, 3527, 3906, 3907, 3908, 3909, 15488) -- Healing Stream Totem
elseif APILevel <= 2 then
totemNpcIDs = {
-- [npcID] = { spellID, duration }
Expand Down

0 comments on commit 28f8170

Please sign in to comment.