aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/mangos.sql6
-rw-r--r--sql/updates/1688_mangos_7382_01_creature_template.sql5
2 files changed, 9 insertions, 2 deletions
diff --git a/sql/mangos.sql b/sql/mangos.sql
index 0446fda2bb6..ae9773f02ae 100644
--- a/sql/mangos.sql
+++ b/sql/mangos.sql
@@ -22,7 +22,7 @@
DROP TABLE IF EXISTS `db_version`;
CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
- `required_7376_01_mangos_spell_area` bit(1) default NULL
+ `required_7382_01_mangos_creature_template` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
@@ -811,6 +811,8 @@ CREATE TABLE `creature_template` (
`AIName` char(64) NOT NULL default '',
`MovementType` tinyint(3) unsigned NOT NULL default '0',
`InhabitType` tinyint(3) unsigned NOT NULL default '3',
+ `unk16` float NOT NULL default '1',
+ `unk17` float NOT NULL default '1',
`RacialLeader` tinyint(3) unsigned NOT NULL default '0',
`RegenHealth` tinyint(3) unsigned NOT NULL default '1',
`equipment_id` mediumint(8) unsigned NOT NULL default '0',
@@ -827,7 +829,7 @@ CREATE TABLE `creature_template` (
LOCK TABLES `creature_template` WRITE;
/*!40000 ALTER TABLE `creature_template` DISABLE KEYS */;
INSERT INTO `creature_template` VALUES
-(1,1,10045,0,10045,0,'Waypoint(Only GM can see it)','Visual',NULL,1,1,64,64,0,0,0,35,35,0,0.91,1,0,14,15,0,100,2000,2200,4096,0,0,0,0,0,0,1.76,2.42,100,8,5242886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,0,1,0,0,0x82,'');
+(1,1,10045,0,10045,0,'Waypoint(Only GM can see it)','Visual',NULL,1,1,64,64,0,0,0,35,35,0,0.91,1,0,14,15,0,100,2000,2200,4096,0,0,0,0,0,0,1.76,2.42,100,8,5242886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1.0,1.0,0,1,0,0,0x82,'');
/*!40000 ALTER TABLE `creature_template` ENABLE KEYS */;
UNLOCK TABLES;
diff --git a/sql/updates/1688_mangos_7382_01_creature_template.sql b/sql/updates/1688_mangos_7382_01_creature_template.sql
new file mode 100644
index 00000000000..9616f20a7d3
--- /dev/null
+++ b/sql/updates/1688_mangos_7382_01_creature_template.sql
@@ -0,0 +1,5 @@
+ALTER TABLE db_version CHANGE COLUMN required_7376_01_mangos_spell_area required_7382_01_mangos_creature_template bit;
+
+ALTER TABLE creature_template
+ ADD COLUMN unk16 float NOT NULL default '1' AFTER InhabitType,
+ ADD COLUMN unk17 float NOT NULL default '1' AFTER unk16;