Skip to content

Commit

Permalink
Add progression stages for Love is in the Air's Bouquets of Red Roses…
Browse files Browse the repository at this point in the history
… to drop from dungeon bosses. (#383)

* Up.

* Up II.

* Down.
  • Loading branch information
heyitsbench authored Feb 7, 2024
1 parent d905f3e commit 4d87f52
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Bracket_1_19/sql/world/progression_1_19_love_in_air.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Quest
(54537, 50446, 0, 0, 0, 1, 1, 1, 1, NULL),
(54537, 50471, 0, 0, 0, 1, 1, 1, 1, NULL);

-- Bouquet of Red Roses
DELETE FROM `creature_loot_template` WHERE (`Entry` IN (8929, 10811, 10901, 11488)) AND (`Item` = 22206);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(8929, 22206, 0, 0, 0, 1, 2, 1, 1, 'Love is in the Air - Princess Moira Bronzebeard - Bouquet of Red Roses'),
(10811, 22206, 0, 0, 0, 1, 2, 1, 1, 'Love is in the Air - Archivist Galford - Bouquet of Red Roses'),
(10901, 22206, 0, 0, 0, 1, 2, 1, 1, 'Love is in the Air - Lorekeeper Polkelt - Bouquet of Red Roses'),
(11488, 22206, 0, 0, 0, 1, 3, 1, 1, 'Love is in the Air - Illyanna Ravenoak - Bouquet of Red Roses');

DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 1) AND (`SourceGroup` IN (8929, 10811, 10901, 11488)) AND (`SourceEntry` = 22206) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 12) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 8) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1, 8929, 22206, 0, 0, 12, 0, 8, 0, 0, 0, 0, 0, '', 'Love is in the Air - Princess Moira Bronzebeard - Bouquet of Red Roses'),
(1, 10811, 22206, 0, 0, 12, 0, 8, 0, 0, 0, 0, 0, '', 'Love is in the Air - Archivist Galford - Bouquet of Red Roses'),
(1, 10901, 22206, 0, 0, 12, 0, 8, 0, 0, 0, 0, 0, '', 'Love is in the Air - Lorekeeper Polkelt - Bouquet of Red Roses'),
(1, 11488, 22206, 0, 0, 12, 0, 8, 0, 0, 0, 0, 0, '', 'Love is in the Air - Illyanna Ravenoak - Bouquet of Red Roses');

UPDATE `creature_template` SET `minlevel` = 62, `maxlevel` = 62 WHERE `entry` IN (36565, 36296, 36272, 36568);
UPDATE `creature_template` SET `minlevel` = 60, `maxlevel` = 60 WHERE `entry` = 36568; -- crazed apothecary
UPDATE `creature_template` SET `lootid` = 0 WHERE `entry` = 36296;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Quest
(54537,49927,0,100,0,1,0,5,10,'Heart-Shaped Box - Love Token'),
(54537,50250,0,0.1,0,1,0,1,1,'Heart-Shaped Box - Big Love Rocket');

-- Bouquet of Red Roses
DELETE FROM `creature_loot_template` WHERE (`Entry` IN (8929, 10811, 10901, 11488)) AND (`Item` = 22206);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 1) AND (`SourceGroup` IN (8929, 10811, 10901, 11488)) AND (`SourceEntry` = 22206) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 12) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 8) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);

UPDATE `creature_template` SET `minlevel` = 82, `maxlevel` = 82 WHERE `entry` IN (36565, 36296, 36272);
UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` = 36568; -- crazed apothecary
UPDATE `creature_template` SET `lootid` = 36296 WHERE `entry` = 36296;
Expand Down

0 comments on commit 4d87f52

Please sign in to comment.