Автор: Schmoozerd
m sql/mangos.sql
+ sql/updates/11985_01_mangos_gameobject_template_scripts.sql
m src/game/GameObject.cpp
m src/game/Level3.cpp
m src/game/ScriptMgr.cpp
m src/game/ScriptMgr.h
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
[11985] Implement support for go_template_scripts
Add a new table `gameobject_template_scripts` to start scripts for any type gameobject.
Scripts in this table are triggered for all gameobjects on GameObject::Use
Note: The table `gameobject_scripts` is expected to not be required very much longer, and will most likely be removed someday
Подробнее...