mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Scripts/Spells): Prevent Omen of Clarity from procing from crafti… (#14910)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user