DB/Creature: Temple Guardian Anhuur loot

By Girip Dragos closes #12
This commit is contained in:
Aokromes
2015-09-02 02:47:47 +02:00
parent 2c5d0e086b
commit 2d2d65ebf5
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
--
SET @GUID := 24;
SET @OLDGUID := 156;
DELETE FROM `creature` WHERE `guid` IN (@GUID);
DELETE FROM `creature` WHERE `guid` IN (@OLDGUID);
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,31810,571,1,1,0,1,7850.829,-1393.344,1534.143,5.88176,300,0,0,1,0,0);

View File

@@ -0,0 +1,23 @@
-- Temple Guardian Anhuur loot -- Normal/Heroic
UPDATE creature_template SET `lootid`= 39425 where `entry`= 39425;
UPDATE creature_template SET `lootid`= 49262 where `entry`= 49262;
DELETE FROM `creature_loot_template` WHERE `Entry` IN (39425, 49262);
INSERT INTO `creature_loot_template` (`entry`, `item`, `Reference`, `Chance`, `QuestRequired`, `Lootmode`, `GroupId`, `MinCount`, `MaxCount`,`Comment`) VALUES
(39425,1,39425,100,0,1,0,1,1,"Anhuur N - Reference Loot"),
(49262,1,49262,100,0,1,0,1,1,"Anhuur H - Reference Loot");
DELETE FROM `reference_loot_template` where `entry` IN (39425,49262);
INSERT INTO `reference_loot_template` (`entry`, `item`, `Reference`, `Chance`, `QuestRequired`, `Lootmode`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(39425,55889,0,0,0,1,1,1,1),
(39425,55888,0,0,0,1,1,1,1),
(39425,55886,0,0,0,1,1,1,1),
(39425,55887,0,0,0,1,1,1,1),
(39425,55890,0,0,0,1,1,1,1),
(49262,56407,0,0,0,1,1,1,1),
(49262,56410,0,0,0,1,1,1,1),
(49262,56411,0,0,0,1,1,1,1),
(49262,56408,0,0,0,1,1,1,1),
(49262,56409,0,0,0,1,1,1,1);
UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`= 39946 AND `source_type`=0 AND `id`=1;