From 8a560ca408918f8e8d10e8e52722e182aa07697f Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 20 Dec 2009 20:41:20 -0700 Subject: * Fixed SQL in commit 6666 --HG-- branch : trunk --- sql/updates/6669_world_creature_template.sql | 2 ++ sql/world.sql | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 sql/updates/6669_world_creature_template.sql (limited to 'sql') diff --git a/sql/updates/6669_world_creature_template.sql b/sql/updates/6669_world_creature_template.sql new file mode 100644 index 00000000000..6dac44745c6 --- /dev/null +++ b/sql/updates/6669_world_creature_template.sql @@ -0,0 +1,2 @@ +ALTER TABLE `creature_template` DROP `exp`; +ALTER TABLE `creature_template` ADD `exp` smallint(2) NOT NULL DEFAULT 0 AFTER `maxlevel`; diff --git a/sql/world.sql b/sql/world.sql index 22b569ef69d..520aa7a6795 100644 --- a/sql/world.sql +++ b/sql/world.sql @@ -1610,10 +1610,7 @@ CREATE TABLE `creature_template` ( `gossip_menu_id` mediumint(8) unsigned NOT NULL default '0', `minlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', `maxlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', - `minhealth` int(10) unsigned NOT NULL DEFAULT '0', - `maxhealth` int(10) unsigned NOT NULL DEFAULT '0', - `minmana` int(10) unsigned NOT NULL DEFAULT '0', - `maxmana` int(10) unsigned NOT NULL DEFAULT '0', + `exp` smallint(2) NOT NULL DEFAULT '0', `armor` mediumint(8) unsigned NOT NULL DEFAULT '0', `faction_A` smallint(5) unsigned NOT NULL DEFAULT '0', `faction_H` smallint(5) unsigned NOT NULL DEFAULT '0', -- cgit v1.2.3