mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
New field script_id in creature_movement can be filled for each waypoint point and run the corresponding script from creature_movement_scripts. Script_id can be any value and several points/creatures can share the same script (with limits of course, such as script depending on location and other factors). DB projects are advised to move current text, spells and emotes data in creature_movement fields as these fields are strictly no longer needed and may be fully removed in the future. Signed-off-by: NoFantasy <nofantasy@nf.no>
3 lines
227 B
SQL
3 lines
227 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_9886_02_mangos_command required_9891_01_mangos_creature_movement bit;
|
|
|
|
ALTER TABLE creature_movement ADD COLUMN script_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER waittime;
|