From 28da592ad13e05eb6b25335fa83bfd4da80fdc94 Mon Sep 17 00:00:00 2001 From: ZxBiohazardZx Date: Wed, 2 May 2012 23:08:10 +0200 Subject: DB/Loot: Add loot for 25 man to Stinky & Precious, Add Skinning loot; Fix naming in previous SQL submission Closes #6370 --- sql/updates/world/2012_05_01_00_world_creature.sql | 9 +++++++++ sql/updates/world/2012_05_02_00_world_creature_loot_template.sql | 8 ++++++++ sql/updates/world/2012_05_1_00_world_creature.sql | 9 --------- 3 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 sql/updates/world/2012_05_01_00_world_creature.sql create mode 100644 sql/updates/world/2012_05_02_00_world_creature_loot_template.sql delete mode 100644 sql/updates/world/2012_05_1_00_world_creature.sql (limited to 'sql') diff --git a/sql/updates/world/2012_05_01_00_world_creature.sql b/sql/updates/world/2012_05_01_00_world_creature.sql new file mode 100644 index 00000000000..c0509d0d132 --- /dev/null +++ b/sql/updates/world/2012_05_01_00_world_creature.sql @@ -0,0 +1,9 @@ +-- Add missing Challe & Orphan Matron Aria Spawns +SET @GUID := 41876; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+1; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@GUID,23101,530,1,1,0,0,-480.4989,7499.029,181.2889,3.560472,120,0,0,1,0,0), +(@GUID+1,34365,571,1,1,0,0,5716.604,642.8611,646.2927,5.88176,120,0,0,1,0,0); +-- Add to game event creature +DELETE FROM `game_event_creature` WHERE `guid`=@GUID+1; +INSERT INTO `game_event_creature` (`eventEntry`,`guid`) VALUES (10,@GUID+1); diff --git a/sql/updates/world/2012_05_02_00_world_creature_loot_template.sql b/sql/updates/world/2012_05_02_00_world_creature_loot_template.sql new file mode 100644 index 00000000000..f0721e63635 --- /dev/null +++ b/sql/updates/world/2012_05_02_00_world_creature_loot_template.sql @@ -0,0 +1,8 @@ +DELETE FROM `creature_loot_template` WHERE `entry` IN(38064,38103); +INSERT INTO `creature_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +-- Precious 25 man +(38103,1,100,1,0,-35069,2), -- Two From ICC Trashgenerated on Precious +(38103,52019,30,1,0,1,1), -- Precious Ribbon on Precious +(38064,1,100,1,0,-35069,2); -- Two From ICC Trashgenerated on Stinky +-- add skinning loot for Stinky & Precious +UPDATE `creature_template` SET `skinloot`=70214 WHERE `entry` IN (37025,38064,37217,38103); diff --git a/sql/updates/world/2012_05_1_00_world_creature.sql b/sql/updates/world/2012_05_1_00_world_creature.sql deleted file mode 100644 index c0509d0d132..00000000000 --- a/sql/updates/world/2012_05_1_00_world_creature.sql +++ /dev/null @@ -1,9 +0,0 @@ --- Add missing Challe & Orphan Matron Aria Spawns -SET @GUID := 41876; -DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+1; -INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES -(@GUID,23101,530,1,1,0,0,-480.4989,7499.029,181.2889,3.560472,120,0,0,1,0,0), -(@GUID+1,34365,571,1,1,0,0,5716.604,642.8611,646.2927,5.88176,120,0,0,1,0,0); --- Add to game event creature -DELETE FROM `game_event_creature` WHERE `guid`=@GUID+1; -INSERT INTO `game_event_creature` (`eventEntry`,`guid`) VALUES (10,@GUID+1); -- cgit v1.2.3