mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Spell: Validate spell_dbc DB data on startup
Validate spell_dbc DB data on startup (max effect type, max aura type, max target type). Delete some invalid spells from spell_dbc table. Make sure to apply the SQL script or worldserver will assert on startup.
This commit is contained in:
1
sql/updates/world/3.3.5/2017_12_02_00_world.sql
Normal file
1
sql/updates/world/3.3.5/2017_12_02_00_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `spell_dbc` WHERE `Effect1` >= 165 OR `Effect2` >= 165 OR `Effect3` >= 165 OR `EffectApplyAuraName1` >= 317 OR `EffectApplyAuraName2` >= 317 OR `EffectApplyAuraName3` >= 317 OR `EffectImplicitTargetA1` >= 111 OR `EffectImplicitTargetA2` >= 111 OR `EffectImplicitTargetA3` >= 111 OR `EffectImplicitTargetB1` >= 111 OR `EffectImplicitTargetB2` >= 111 OR `EffectImplicitTargetB3` >= 111;
|
||||
Reference in New Issue
Block a user