From b76fb69a47fc94b895ec626388800b6e442654a3 Mon Sep 17 00:00:00 2001 From: Cilraaz Date: Wed, 11 Sep 2024 22:11:59 -0400 Subject: [PATCH] feat(Equipment): Globally exclude Concoction: Kiss of Death if buff is up --- HeroLib/Class/Unit/Player/Equipment.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/HeroLib/Class/Unit/Player/Equipment.lua b/HeroLib/Class/Unit/Player/Equipment.lua index e7e0db1f..e06923dd 100755 --- a/HeroLib/Class/Unit/Player/Equipment.lua +++ b/HeroLib/Class/Unit/Player/Equipment.lua @@ -375,11 +375,15 @@ do -- Dragonflight GlobeofJaggedIce = Item(193732, {13, 14}), TreemouthsFesteringSplinter = Item(193652, {13, 14}), + -- The War Within + ConcoctionKissofDeath = Item(215174, {13, 14}), } local CustomItemSpells = { -- Dragonflight - SkeweringColdDebuff = Spell(388929), + SkeweringColdDebuff = Spell(388929), + -- The War Within + ConcoctionKissofDeathBuff = Spell(435493), } local RangeOverrides = { @@ -423,6 +427,11 @@ do return not (Player:IsTankingAoE(8) or Player:IsTanking(Target)) end + -- The War Within items being excluded with custom checks. + if ItemID == CustomItems.ConcoctionKissofDeath:ID() then + return Player:BuffUp(CustomItemSpells.ConcoctionKissofDeathBuff) + end + -- Any generic items we always want to exclude from suggestions. if GenericItems[ItemID] then return true end