Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- "Ignition"
- SET @GUID := 47032;
- UPDATE `creature_template` SET `questItem1`=62705 WHERE `entry`=47032;
- DELETE FROM `creature_loot_template` WHERE `entry`=47032 AND `item`=62705;
- INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
- (47032, 62705, 100, 1, 0, 1, 1);
- DELETE FROM `conditions` WHERE `SourceGroup`=47032;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
- (1, 47032, 62705, 0, 0, 9, 0, 27903, 0, 0, 0, 0, '', 'show loot if player has quest');
- DELETE FROM `creature` WHERE `guid`=@GUID;
- INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
- (181973, 47032, 1, 1, 1, 0, 0, -10458.3, -484.352, 228.921, 1.65806, 120, 0, 0, 1, 0, 0, 0, 0, 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement