mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Spells): prevent client crash on use spell Neural Needle + ESC (#3383)
This commit is contained in:
@@ -3325,6 +3325,7 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
case 45257: // Using Steam Tonk Controller
|
case 45257: // Using Steam Tonk Controller
|
||||||
case 45440: // Steam Tonk Controller
|
case 45440: // Steam Tonk Controller
|
||||||
case 60256: // Collect Sample
|
case 60256: // Collect Sample
|
||||||
|
case 45634: // Neural Needle
|
||||||
// Crashes client on pressing ESC
|
// Crashes client on pressing ESC
|
||||||
spellInfo->AttributesEx4 &= ~SPELL_ATTR4_CAN_CAST_WHILE_CASTING;
|
spellInfo->AttributesEx4 &= ~SPELL_ATTR4_CAN_CAST_WHILE_CASTING;
|
||||||
break;
|
break;
|
||||||
@@ -4548,7 +4549,7 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
case 37852:
|
case 37852:
|
||||||
spellInfo->AttributesEx5 |= SPELL_ATTR5_USABLE_WHILE_STUNNED;
|
spellInfo->AttributesEx5 |= SPELL_ATTR5_USABLE_WHILE_STUNNED;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Karazhan
|
// Karazhan
|
||||||
// Amplify Damage
|
// Amplify Damage
|
||||||
case 39095:
|
case 39095:
|
||||||
|
|||||||
Reference in New Issue
Block a user