diff options
author | ZxBiohazardZx <zxbiohazardzx@gmail.com> | 2012-04-20 13:36:23 +0200 |
---|---|---|
committer | ZxBiohazardZx <zxbiohazardzx@gmail.com> | 2012-04-20 13:36:23 +0200 |
commit | 5b7e4b093b4b4fbc6943a09b459785a873cc1bea (patch) | |
tree | 61caded3df5ed07f7e68366c7a54d2c82d7ed2cc | |
parent | 50f2be538cd5de97051c2920c9bcfc0a7a5e3091 (diff) |
DB/Loot: Adjust the mechanic for Argent Crusade Trophy's to prevent issues after looting
Closes #2993
-rw-r--r-- | sql/updates/world/2012_04_20_00_world_gameobject_loot_template.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/2012_04_20_00_world_gameobject_loot_template.sql b/sql/updates/world/2012_04_20_00_world_gameobject_loot_template.sql new file mode 100644 index 00000000000..47a22d519d0 --- /dev/null +++ b/sql/updates/world/2012_04_20_00_world_gameobject_loot_template.sql @@ -0,0 +1,15 @@ +SET @Ref := 12002; +DELETE FROM `reference_loot_template` WHERE `entry`=@Ref; +INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(@Ref,47242,100,1,0,1,1); +DELETE FROM `gameobject_loot_template` WHERE `entry` IN (195668,195667,195666,195665,195672,195671,195670,195669) AND `item`=47242; +DELETE FROM `gameobject_loot_template` WHERE `entry` IN (195668,195667,195666,195665,195672,195671,195670,195669) AND `mincountOrRef` = -@Ref; +INSERT INTO gameobject_loot_template (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(195665,5,100,1,0,-@Ref,4), -- 10 man,50 attempts +(195666,3,100,1,0,-@Ref,4), -- 10 man,45+ attempts +(195667,3,100,1,0,-@Ref,2), -- 10 man,25+ attempts +(195668,1,100,1,0,-@Ref,2), -- 10 man,0+ attempts +(195669,6,100,1,0,-@Ref,4), -- 25 man,50 attempts +(195670,4,100,1,0,-@Ref,4), -- 25 man,45+ attempts +(195671,4,100,1,0,-@Ref,2), -- 25 man,25+ attempts +(195672,2,100,1,0,-@Ref,2); -- 25 man,0+ attempts |