Neth
BETA Tester
Greetings, in this tutorial ( more an information imo but w/e ) i'll show you why you shouldn't edit DBC when you can simply do it core side.
I will take TrinityCore in this example because it's the current core I work with.
When you edit DBC there are lots of collums and when you're news it's a total mess to remember what you did and what was the original value, anyway TrinityCore has the following function : void SpellMgr::LoadSpellInfoCorrections() in SpellMgr.cpp
with this function you will be able to overwrite most dbc value without editing your spell.dbc you can see some example here : https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Spells/SpellMgr.cpp#L3003
Remember that in some case you will need to edit DBC but if you can avoid it then do it
I will take TrinityCore in this example because it's the current core I work with.
When you edit DBC there are lots of collums and when you're news it's a total mess to remember what you did and what was the original value, anyway TrinityCore has the following function : void SpellMgr::LoadSpellInfoCorrections() in SpellMgr.cpp
with this function you will be able to overwrite most dbc value without editing your spell.dbc you can see some example here : https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Spells/SpellMgr.cpp#L3003
Remember that in some case you will need to edit DBC but if you can avoid it then do it