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 parent
2a6cf1e6b7
commit
d9501acb3f
2 files changed
+7
-6
No files matched your search
@@ -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