From f4d76b8216c911901e8a13996c55128bbfa4b08e Mon Sep 17 00:00:00 2001 From: maximius Date: Wed, 28 Oct 2009 16:31:19 -0700 Subject: *Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support. --HG-- branch : trunk --- sql/updates/6096_world_loot_template.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sql/updates/6096_world_loot_template.sql (limited to 'sql') diff --git a/sql/updates/6096_world_loot_template.sql b/sql/updates/6096_world_loot_template.sql new file mode 100644 index 00000000000..17c88df4d25 --- /dev/null +++ b/sql/updates/6096_world_loot_template.sql @@ -0,0 +1,15 @@ + +-- Currently utilized in the following tables (1 = default, 0 = disabled) +ALTER TABLE `creature_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `gameobject_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `reference_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; + +-- Currently not utilized in the following tables (1 = enabled, any other value = disabled) +ALTER TABLE `fishing_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `disenchant_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `item_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `milling_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `pickpocketing_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `prospecting_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `skinning_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; +ALTER TABLE `quest_mail_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 BEFORE `groupid`; -- cgit v1.2.3