Skip to content

Commit

Permalink
For Spells that give a buff on both player and pets, prefer player
Browse files Browse the repository at this point in the history
  • Loading branch information
InfusOnWoW committed Aug 10, 2024
1 parent 3d25fdb commit 862e3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ function export()
if specDB.playerBuffs[spellId] then
parameters = parameters .. ", buff = true"
end
if specDB.petBuffs[spellId] then
if specDB.petBuffs[spellId] and not specDB.playerBuffs[spellId] then
parameters = parameters .. ", buff = true, unit = 'pet'"
end
if specDB.targetDebuffs[spellId] then
Expand Down

0 comments on commit 862e3a2

Please sign in to comment.