diff options
| author | maximius <none@none> | 2009-10-28 16:31:19 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-10-28 16:31:19 -0700 |
| commit | f4d76b8216c911901e8a13996c55128bbfa4b08e (patch) | |
| tree | d1db8d946c29cb9bdca5e0bf4d0da0a029f46d45 /sql | |
| parent | d5b8ad0080d45c2f02ef5a4fdd4d8853da286b6d (diff) | |
*Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support.
--HG--
branch : trunk
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/6096_world_loot_template.sql | 15 |
1 files changed, 15 insertions, 0 deletions
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`; |
