chore(DB): import pending files

Referenced commit(s): 619a6526bd
This commit is contained in:
AzerothCoreBot
2022-07-20 16:00:26 +00:00
parent 619a6526bd
commit b7bd70625d
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
-- DB update 2022_07_20_08 -> 2022_07_20_09
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 12119;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 12119) AND (`source_type` = 0) AND (`id` IN (0, 1));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12119, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 6500, 6500, 0, 11, 20604, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Flamewaker Protector - In Combat - Cast \'Dominate Mind\''),
(12119, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 7000, 7000, 0, 11, 20605, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Flamewaker Protector - In Combat - Cast \'Cleave\'');

View File

@@ -0,0 +1,22 @@
-- DB update 2022_07_20_09 -> 2022_07_20_10
--
/* Snakes */
UPDATE `creature` SET `id1`=11371 WHERE `guid` IN (49096, 49097);
UPDATE `creature` SET `id2`=11372 WHERE `guid` IN (49096, 49097);
/* Priest can be Axe thrower */
UPDATE `creature` SET `id2`=11350 WHERE `guid`=49754;
/* Crocs movement is a scripted action that occurs about every 30 seconds, and all crocs do it--not normal random movement */
UPDATE `creature` SET `wander_distance`=0, `MovementType`=0 WHERE `id1`=15043;
/* Reposition a Snake */
/* Reposition two Trolls */
DELETE FROM `creature` WHERE `guid` IN (49121, 49122, 49097);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(49097, 11371, 11372, 0, 309, 0, 0, 1, 1, 0, -11959.5, -1547.96, 40.6727, 3.1776, 7200, 0, 0, 15260, 0, 0, 0, 0, 0, '', 0),
(49121, 11351, 0, 0, 309, 0, 0, 1, 1, 1, -12008.5, -1484.79, 79.1498, 4.87654, 7200, 0, 0, 21364, 0, 0, 0, 0, 0, '', 0),
(49122, 11831, 0, 0, 309, 0, 0, 1, 1, 1, -12004.5, -1483.46, 79.5746, 4.71553, 7200, 0, 0, 24420, 12170, 0, 0, 0, 0, '', 0);
/* Movetype and wander distance corrections for Snakes and Bats/Bat Riders */
UPDATE `creature` SET `wander_distance`=2, `MovementType`=1 WHERE `guid` IN (49096, 49097, 49190, 49191, 49192, 49193);