From 8f4c512ef152f416c8e19b58487c355b622a5c17 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Sat, 24 Apr 2021 16:00:20 +0200 Subject: docs: add description for spell_dbc (#440) --- docs/spell_dbc.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/spell_dbc.md b/docs/spell_dbc.md index fdf067d..7988d31 100644 --- a/docs/spell_dbc.md +++ b/docs/spell_dbc.md @@ -4,7 +4,14 @@ **The \`spell\_dbc\` table** -This table contains data regarding serverside spells which are not to be found in Client DBC files. +This table contains data regarding serverside spells which are not to be found in Client DBC files as well as **overrides** of the DBC that are meant to improve or fix any spell. + +If you want to add more overrides, please first extract the needed SQL spell row using the [node-dbc-reader](https://github.com/wowgaming/node-dbc-reader) then you can use a `UPDATE` query to change the fields that you need to override. + +Fixes for this table should always contain: + +1) the `INSERT IGNORE` query adding the original spell from the DBC +2) the `UPDATE` query containing the desired overrides **Structure** -- cgit