Skip to content

Commit

Permalink
update conditions table
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexadecimal committed Feb 4, 2025
1 parent 6b4cc5e commit af3d4f1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions data/sql/updates/pending_db_world/rev_1738495222613876100.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
-- Delete Severed Arm from fish loot
DELETE FROM `fishing_loot_template` WHERE `Entry`=4567 AND `Item`=45323;
-- Delete Bloated Slippery Eel from fish loot
-- Delete Bloated Slippery Eel from fish loot (water outside of Dalaran, where Quest Item was before patch 3.3.3)
DELETE FROM `fishing_loot_template` WHERE `Entry`=3979 AND `Item`=45328;
-- Delete Bloated Slippery Eel from gameobject loot
-- Delete Bloated Slippery Eel from gameobject loot (fishing holes outside of Dalaran, where Quest Item was before patch 3.3.3)
DELETE FROM `gameobject_loot_template` WHERE `Entry`=25671 AND `Item`=45328;
-- Delete Corroded Jewelry from fish loot
DELETE FROM `fishing_loot_template` WHERE `Entry`=4560 AND `Item`=45903;
-- Update Bloated Slippery Eel Entry in reference loot
-- Update Bloated Slippery Eel Entry in reference loot (the quest fish already exist in loot table, but it is in "wrong" water. Right now it in the sewers. So I'm moving it to outside the prison)
UPDATE `reference_loot_template` SET `Entry`=11024 WHERE `Entry`=11026 AND `Item`=45328;
-- Update conditions according to changed entry in `reference_loot_template`
UPDATE `conditions` SET `SourceGroup`=11024 WHERE `SourceGroup`=11026 AND `SourceEntry`=45328 AND `ConditionValue1`=13836;
-- Delete outdated condition
DELETE FROM `conditions` WHERE `SourceGroup`=25671 AND `SourceEntry`=45328 AND `ConditionValue1`=13836;

-- Delete Corroded Jewelry from fish loot (That is another fishing quest, and we have duplicated drop in DB. One in
DELETE FROM `fishing_loot_template` WHERE `Entry`=4560 AND `Item`=45903;

0 comments on commit af3d4f1

Please sign in to comment.