Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
e77f51df5d
commit
5b7493fc66
21 files changed
+86
-88
No files matched your search
@@ -9020,10 +9020,10 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
||||
case 70893:
|
||||
{
|
||||
// check if we're doing a critical hit
|
||||
if (!(procSpell->SpellFamilyFlags[1] & 0x10000000) && (procEx != PROC_EX_CRITICAL_HIT) )
|
||||
if (!(procSpell->SpellFamilyFlags[1] & 0x10000000) && (procEx != PROC_EX_CRITICAL_HIT))
|
||||
return false;
|
||||
// check if we're procced by Claw, Bite or Smack (need to use the spell icon ID to detect it)
|
||||
if (!(procSpell->SpellIconID == 262 || procSpell->SpellIconID == 1680 || procSpell->SpellIconID == 473 ))
|
||||
if (!(procSpell->SpellIconID == 262 || procSpell->SpellIconID == 1680 || procSpell->SpellIconID == 473))
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user