Core/Spells: ported proc flag updates from master branch

This commit is contained in:
Ovahlord committed 2022-02-22 21:19:09 +01:00
1 parent e83c5955b4
commit 78896a132f
9 files changed
+180 -162

No files matched your search

+1 -1
View File
@@ -1015,7 +1015,7 @@ class spell_rog_main_gauche : public AuraScript
if (!item || !item->IsEquipped())
return false;
if (!(eventInfo.GetTypeMask() & PROC_FLAG_DONE_MAINHAND_ATTACK))
if (!(eventInfo.GetTypeMask() & PROC_FLAG_MAIN_HAND_WEAPON_SWING))
return false;
return roll_chance_i(GetEffect(EFFECT_0)->GetAmount());