fix(DB/Creature): add patrolling to Azurous (10202) (#7189)

This commit is contained in:
Asthalor
2021-08-06 11:50:49 +02:00
committed by GitHub
parent 31e41890e3
commit 19601c0e02

View File

@@ -0,0 +1,30 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1627741035221642000');
-- Set the Creature Azurous a patrol route movement
UPDATE `creature` SET `MovementType` = 2 WHERE (`id` = 10202) AND (`guid` = 51890);
-- Changed his movement from 1.74 to 1 so he dont speedwalk.
UPDATE `creature_template` SET `speed_walk` = 1 WHERE (`entry` = 10202);
-- Delete previous routes
DELETE FROM `creature_addon` WHERE (`guid` = 51890);
-- Routes
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `isLarge`, `auras`) VALUES
(51890, 518900, 0, 0, 0, 0, 0, NULL);
-- Delete all waypoints routes
DELETE FROM `waypoint_data` WHERE (`id` = 518900);
-- Waypoint route 1 (GUID: 51890)
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
(518900,1,6448.333,-4494.53,734.90,0,0,0,0,100,0),
(518900,2,6437.67,-4434.99,727.15,0,0,0,0,100,0),
(518900,3,6385.43,-4397.43,733.18,0,0,0,0,100,0),
(518900,4,6352.442,-4414.85,746.33,0,0,0,0,100,0),
(518900,5,6352.72,-4433.61,754.56,0,0,0,0,100,0),
(518900,6,6390.195,-4489.12,753.99,0,0,0,0,100,0),
(518900,7,6394.71,-4519.01,748.153,0,0,0,0,100,0),
(518900,8,6431.722,-4518.271,737.40,0,0,0,0,100,0),
(518900,9,6487.26,-4542.47,717.283,0,0,0,0,100,0);