From 268aa045932dae72d5d6ced7658f31b820fbfde6 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 21 Jan 2010 18:51:00 -0700 Subject: * SQL need to restore the *structure* of the DB after the backout * from the previous commit --HG-- branch : trunk --- sql/updates/7147_world_creature_classlevelstats.sql | 4 ++++ sql/updates/7147_world_creature_template.sql | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 sql/updates/7147_world_creature_classlevelstats.sql create mode 100644 sql/updates/7147_world_creature_template.sql (limited to 'sql') diff --git a/sql/updates/7147_world_creature_classlevelstats.sql b/sql/updates/7147_world_creature_classlevelstats.sql new file mode 100644 index 00000000000..6b10bb9806c --- /dev/null +++ b/sql/updates/7147_world_creature_classlevelstats.sql @@ -0,0 +1,4 @@ +ALTER TABLE `creature_classlevelstats` +DROP COLUMN `basedmg`, +DROP COLUMN `baserangeddmg`; + diff --git a/sql/updates/7147_world_creature_template.sql b/sql/updates/7147_world_creature_template.sql new file mode 100644 index 00000000000..2f46ba513f0 --- /dev/null +++ b/sql/updates/7147_world_creature_template.sql @@ -0,0 +1,10 @@ +ALTER TABLE `creature_template` +DROP COLUMN `dmg_Mod`, +DROP COLUMN `rangeddmg_Mod`; +ADD COLUMN `mindmg` float NOT NULL DEFAULT '0' AFTER `rank`, +ADD COLUMN `maxdmg` float NOT NULL DEFAULT '0' AFTER `mindmg`, +ADD COLUMN `attackpower` int(10) unsigned NOT NULL DEFAULT '0' AFTER `dmgschool`, +ADD COLUMN `minrangedmg` float NOT NULL DEFAULT '0' AFTER `trainer_race`, +ADD COLUMN `maxrangedmg` float NOT NULL DEFAULT '0' AFTER `minrangedmg`, +ADD COLUMN `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `maxrangedmg`; + -- cgit v1.2.3