From 6c0cf9580b0227c71fdf396001a24d3a8b7cb7fb Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 18 Jan 2021 23:57:19 +0100 Subject: [PATCH] Core/Spells: block Bandit's Guile procs when the rogue has reached deep insight --- src/server/scripts/Spells/spell_rogue.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index ada3a63041..b0cdf5d679 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -1405,6 +1405,9 @@ class spell_rog_bandits_guile : public AuraScript bool CheckProc(ProcEventInfo& eventInfo) { + if (GetTarget()->HasAura(SPELL_ROGUE_DEEP_INSIGHT, GetTarget()->GetGUID())) + return false; + return eventInfo.GetProcTarget(); }