Skip to content

Commit

Permalink
fix(Trinket): Fix Blizzard magic with auras
Browse files Browse the repository at this point in the history
  • Loading branch information
Kutikuti committed Jul 23, 2021
1 parent 17edab1 commit 739f0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HeroLib/Class/Unit/Player/Equipment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ do
if not IsExcluded then
-- Global custom trinket handlers
if TrinketItemID == CustomTrinketItems.FlayedwingToxin:ID() then
if not Player:BuffUp(CustomTrinketsSpells.FlayedwingToxinBuff) then return TrinketItem end
if not Player:AuraInfo(CustomTrinketsSpells.FlayedwingToxinBuff) then return TrinketItem end
elseif TrinketItemID == CustomTrinketItems.MistcallerOcarina:ID() then
if not (Player:BuffUp(CustomTrinketsSpells.MistcallerCrit) or Player:BuffUp(CustomTrinketsSpells.MistcallerHaste) or Player:BuffUp(CustomTrinketsSpells.MistcallerMastery) or Player:BuffUp(CustomTrinketsSpells.MistcallerVers)) then return TrinketItem end
elseif TrinketItemID == CustomTrinketItems.SoulIgniter:ID() then
Expand All @@ -119,7 +119,7 @@ do
elseif TrinketItemID == CustomTrinketItems.ShardofAnnhyldesAegis:ID() then
if (Player:IsTankingAoE(8) or Player:IsTanking(Target)) then return TrinketItem end
elseif TrinketItemID == CustomTrinketItems.TomeofMonstruousConstructions:ID() then
if Player:BuffDown(CustomTrinketsSpells.TomeofMonstruousConstructionsBuff) then return TrinketItem end
if not Player:AuraInfo(CustomTrinketsSpells.TomeofMonstruousConstructionsBuff) then return TrinketItem end
else
return TrinketItem
end
Expand Down

0 comments on commit 739f0dd

Please sign in to comment.