forked from TrinityCore/TrinityCore
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DB/Creature: Spawn Petrov for the quest Hollowstone Mine (12158)
Closes TrinityCore#1551
- Loading branch information
1 parent
dc641b1
commit afd8cbb
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- Spawn Petrov | ||
SET @GUID :=40268; | ||
DELETE FROM `creature` WHERE `id`=26932; | ||
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 | ||
(@GUID,26932,571,1,1,0,0,4698.392,-4004.781,212.3551,0.5061455,300,0,0,1,0,0,0,0,0); | ||
|
||
-- Template updates for creature 26932 (Petrov) | ||
UPDATE `creature_template` SET `baseattacktime`=1500,`unit_flags`=`unit_flags`|512 WHERE `entry`=26932; -- Petrov | ||
-- Addon data for creature 26932 (Petrov) | ||
DELETE FROM `creature_template_addon` WHERE `entry`=26932; | ||
INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES | ||
(26932,0,0,257,333, NULL); -- Petrov |