aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRat <none@none>2010-10-23 23:31:37 +0200
committerRat <none@none>2010-10-23 23:31:37 +0200
commit62739ed26feca76f1f8f475387586f16a082c12b (patch)
tree2ec4f0a3fb6a42556fff7265cbf272141daa50e8 /sql
parente484a636223b422636492be4acd0d16a233e6138 (diff)
Core/AI: implemented basic class for GameObjectAI
--HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/10281_world_gameobject_template.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index a15c71f8cef..828ef681506 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -2736,6 +2736,7 @@ CREATE TABLE `gameobject_template` (
`data21` int(10) unsigned NOT NULL DEFAULT '0',
`data22` int(10) unsigned NOT NULL DEFAULT '0',
`data23` int(10) unsigned NOT NULL DEFAULT '0',
+ `AIName` char(64) NOT NULL DEFAULT '',
`ScriptName` varchar(64) NOT NULL DEFAULT '',
`WDBVerified` smallint(5) signed DEFAULT '1',
PRIMARY KEY (`entry`),
diff --git a/sql/updates/10281_world_gameobject_template.sql b/sql/updates/10281_world_gameobject_template.sql
new file mode 100644
index 00000000000..568b4c21f5e
--- /dev/null
+++ b/sql/updates/10281_world_gameobject_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_template` ADD `AIName` CHAR( 64 ) NOT NULL DEFAULT '' AFTER `data23`; \ No newline at end of file