Skip to content

Commit

Permalink
Merge pull request #6 from nozzlegear/jordonwow-master
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Jan 8, 2023
2 parents 42cf7ce + 6650373 commit a545767
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 5 additions & 1 deletion BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2008,9 +2008,13 @@ if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then
for i = 1, #debuffs do -- math.min maybe?
if index <= self.db.profile.raidFrames.maxDebuffs then
if not frame.BigDebuffs[index] then break end
frame.BigDebuffs[index].baseSize = frame:GetHeight() * debuffs[i][2] * 0.01
local frameHeight = frame:GetHeight()
frame.BigDebuffs[index].baseSize = frameHeight * debuffs[i][2] * 0.01
local debuffFrame = frame.BigDebuffs[index];
debuffFrame.spellId = debuffs[i][1].spellId;
if not debuffFrame.maxHeight then
debuffFrame.maxHeight = frameHeight;
end
CompactUnitFrame_UtilSetDebuff(debuffFrame, debuffs[i][1])
frame.BigDebuffs[index].cooldown:SetSwipeColor(0, 0, 0, 0.7)
index = index + 1
Expand Down
9 changes: 3 additions & 6 deletions BigDebuffs_Mainline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ addon.Spells = {
[210141] = { type = CROWD_CONTROL}, -- Zombie Explosion (Reanimation Unholy PvP Talent)
[288849] = { type = DEBUFF_OFFENSIVE, nounitFrames = true, nonameplates = true }, -- Crypt Fever (Necromancer's Bargain Unholy PvP Talent)
[3714] = { type = BUFF_OTHER }, -- Path of Frost
[315443] = { type = BUFF_OFFENSIVE }, -- Abomination Limb (Necrolord Ability)
[383269] = { type = BUFF_OFFENSIVE }, -- Abomination Limb (Necrolord Ability)
[311648] = { type = BUFF_OFFENSIVE }, -- Swarming Mist (Venthyr Ability)

-- Demon Hunter
Expand Down Expand Up @@ -257,7 +257,7 @@ addon.Spells = {

[66] = { type = BUFF_OFFENSIVE }, -- Invisibility (Countdown)
[32612] = { type = BUFF_OFFENSIVE, parent = 66 }, -- Invisibility
[113862] = { type = BUFF_OFFENSIVE, parent = 66 }, -- Greater Invisibility
[110960] = { type = BUFF_OFFENSIVE, parent = 66 }, -- Greater Invisibility
[118] = { type = CROWD_CONTROL }, -- Polymorph
[28271] = { type = CROWD_CONTROL, parent = 118 }, -- Polymorph Turtle
[28272] = { type = CROWD_CONTROL, parent = 118 }, -- Polymorph Pig
Expand All @@ -274,7 +274,6 @@ addon.Spells = {
[277792] = { type = CROWD_CONTROL, parent = 118 }, -- Polymorph Bumblebee
[122] = { type = ROOT }, -- Frost Nova
[33395] = { type = ROOT }, -- Freeze
[12042] = { type = BUFF_OFFENSIVE }, -- Arcane Power
[12051] = { type = BUFF_OFFENSIVE }, -- Evocation
[12472] = { type = BUFF_OFFENSIVE }, -- Icy Veins
[198144] = { type = BUFF_OFFENSIVE }, -- Ice Form
Expand Down Expand Up @@ -388,7 +387,6 @@ addon.Spells = {
-- Priest

[327661] = { type = BUFF_DEFENSIVE }, -- Fae Guardians
[337661] = { type = BUFF_DEFENSIVE }, -- Translucent Image (Fade defensive Conduit)
[605] = { type = CROWD_CONTROL, priority = true }, -- Mind Control
[8122] = { type = CROWD_CONTROL }, -- Psychic Scream
[9484] = { type = CROWD_CONTROL }, -- Shackle Undead
Expand Down Expand Up @@ -420,7 +418,6 @@ addon.Spells = {
[211336] = { type = BUFF_DEFENSIVE }, -- Archbishop Benedictus' Restitution (Resurrection Buff)
[211319] = { type = BUFF_DEFENSIVE }, -- Archbishop Benedictus' Restitution (Debuff)
[289655] = { type = BUFF_DEFENSIVE }, -- Holy Word: Concentration
[319952] = { type = BUFF_OFFENSIVE }, -- Surrender to Madness
[322431] = { type = BUFF_OFFENSIVE, nounitFrames = true, nonameplates = true }, -- Thoughtsteal (Buff)
[322459] = { type = DEBUFF_OFFENSIVE }, -- Thoughtstolen (Shaman)
[322464] = { type = DEBUFF_OFFENSIVE, parent = 322459 }, -- Thoughtstolen (Mage)
Expand Down Expand Up @@ -464,7 +461,6 @@ addon.Spells = {
[31224] = { type = IMMUNITY_SPELL }, -- Cloak of Shadows
[45182] = { type = BUFF_DEFENSIVE }, -- Cheating Death
[51690] = { type = BUFF_OFFENSIVE }, -- Killing Spree
[79140] = { type = DEBUFF_OFFENSIVE, nounitFrames = true, nonameplates = true }, -- Vendetta
[121471] = { type = BUFF_OFFENSIVE }, -- Shadow Blades
[185422] = { type = BUFF_OFFENSIVE }, -- Shadow Dance
[207736] = { type = BUFF_OFFENSIVE }, -- Shadowy Duel
Expand Down Expand Up @@ -618,6 +614,7 @@ addon.Spells = {
[360952] = { type = BUFF_OFFENSIVE }, -- Coordinated Assault
[377360] = { type = IMMUNITY_SPELL }, -- Precognition
[34709] = { type = BUFF_OTHER }, -- Shadow Sight
[377362] = { type = IMMUNITY_SPELL }, -- Precognition
[345231] = { type = BUFF_DEFENSIVE }, -- Gladiator's Emblem
[314646] = { type = BUFF_OTHER }, -- Drink (40k mana vendor item)
[348436] = { type = BUFF_OTHER, parent = 314646 }, -- (20k mana vendor item)
Expand Down

0 comments on commit a545767

Please sign in to comment.