fix(Core/Spells): prevent client crash on use spell Neural Needle + ESC (#3383)

This commit is contained in:
Stefano Borzì
2020-09-27 16:31:41 +02:00
committed by GitHub
parent 1910b4ab35
commit 91f4671d07

View File

@@ -3325,6 +3325,7 @@ void SpellMgr::LoadDbcDataCorrections()
case 45257: // Using Steam Tonk Controller
case 45440: // Steam Tonk Controller
case 60256: // Collect Sample
case 45634: // Neural Needle
// Crashes client on pressing ESC
spellInfo->AttributesEx4 &= ~SPELL_ATTR4_CAN_CAST_WHILE_CASTING;
break;
@@ -4548,7 +4549,7 @@ void SpellMgr::LoadDbcDataCorrections()
case 37852:
spellInfo->AttributesEx5 |= SPELL_ATTR5_USABLE_WHILE_STUNNED;
break;
// Karazhan
// Amplify Damage
case 39095: