Merge pull request #11857 from Unholychick/master
Core/Spells: Fix SPELL_DAMAGE_CLASS_NONE unable to crit
This commit is contained in:
commit
a3afd4bb9d
1 file changed
+1
-1
@@ -10443,7 +10443,7 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
// Do not add a break here, case fallthrough is intentional! Adding a break will make above spells unable to crit.
|
||||
case SPELL_DAMAGE_CLASS_MAGIC:
|
||||
{
|
||||
if (schoolMask & SPELL_SCHOOL_MASK_NORMAL)
|
||||
|
||||
Reference in new issue
Block a user