aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2009-12-20 20:41:20 -0700
committerBrian <runningnak3d@gmail.com>2009-12-20 20:41:20 -0700
commit8a560ca408918f8e8d10e8e52722e182aa07697f (patch)
treeaeda8f838e326854cb0762ac9cfd68565a82502b
parent67a4afc54c8660b93ea47c45e141c0c6939df741 (diff)
* Fixed SQL in commit 6666
--HG-- branch : trunk
-rw-r--r--sql/updates/6669_world_creature_template.sql2
-rw-r--r--sql/world.sql5
2 files changed, 3 insertions, 4 deletions
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',