aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-24 20:57:55 -0300
committerfunjoker <funjoker109@gmail.com>2021-08-08 21:21:34 +0200
commit67a1a1d29b76acfcda505fe1a38761a335e93bc5 (patch)
tree4d74e6600201194e4fa52061efa42eeec7434263 /sql
parent4c8a49302fe5d5872cae716db0c91604bc95cad4 (diff)
Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Updates #20957 Closes #20958 (cherry picked from commit 34967e9c32b2c7e871bb93f41609a3b08ad92931)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2021_07_01_13_world_2018_02_24_06_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_07_01_13_world_2018_02_24_06_world.sql b/sql/updates/world/master/2021_07_01_13_world_2018_02_24_06_world.sql
new file mode 100644
index 00000000000..b330e6ec8ed
--- /dev/null
+++ b/sql/updates/world/master/2021_07_01_13_world_2018_02_24_06_world.sql
@@ -0,0 +1,6 @@
+CREATE TABLE IF NOT EXISTS `gameobject_overrides` (
+ `spawnId` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `faction` smallint(5) unsigned NOT NULL DEFAULT '0',
+ `flags` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`spawnId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;