From 35e993edc7e10c21c1d937cfa7389ed8203a704d Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 12 Feb 2023 20:57:53 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/Spells):=20Prevent=20Omen=20of=20Cl?= =?UTF-8?q?arity=20from=20procing=20from=20crafti=E2=80=A6=20(#14910)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/scripts/Spells/spell_druid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 5f17b9633..5cc847ba0 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -207,6 +207,12 @@ class spell_dru_omen_of_clarity : public AuraScript return false; } + // Don't proc on crafting items. + if (spellInfo->HasEffect(SPELL_EFFECT_CREATE_ITEM)) + { + return false; + } + if (eventInfo.GetTypeMask() & PROC_FLAG_DONE_SPELL_MELEE_DMG_CLASS) { return spellInfo->HasAttribute(SPELL_ATTR0_ON_NEXT_SWING) || spellInfo->HasAttribute(SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE);