From 8ea63942b07c73e76694cd8261505229529f5fa6 Mon Sep 17 00:00:00 2001 From: AnchyDev Date: Sat, 9 Mar 2024 12:19:46 +1100 Subject: [PATCH] Added 4 waves. --- data/sql/db-world/base/tos_world_base.sql | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/data/sql/db-world/base/tos_world_base.sql b/data/sql/db-world/base/tos_world_base.sql index 9fdb9ec..14d8d8c 100644 --- a/data/sql/db-world/base/tos_world_base.sql +++ b/data/sql/db-world/base/tos_world_base.sql @@ -190,3 +190,61 @@ INSERT INTO `creature` (`id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMa INSERT INTO `creature` (`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`, `CreateObject`, `Comment`) VALUES (441253, 0, 0, 44, 0, 0, 1, 1, 0, 240.308, -92.1951, 23.7742, 5.77433, 300, 0, 0, 5342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); INSERT INTO `creature` (`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`, `CreateObject`, `Comment`) VALUES (441250, 0, 0, 44, 0, 0, 1, 1, 0, 249.918, -100.064, 18.6794, 0.0307553, 300, 0, 0, 5342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); INSERT INTO `creature` (`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`, `CreateObject`, `Comment`) VALUES (24780, 0, 0, 44, 0, 0, 1, 1, 0, 185.805, -131.234, 18.043, 3.68755, 300, 0, 0, 12150, 0, 0, 0, 0, 0, '', NULL, 0, NULL); + + +DELETE FROM `tos_wave_template` WHERE `wave`=1 AND `enemy_group`=1 AND `has_reward`=1 AND `reward_template`=1; +INSERT INTO `tos_wave_template` (`wave`, `enemy_group`, `has_reward`, `reward_template`) VALUES (1, 1, 1, 1); +DELETE FROM `tos_wave_template` WHERE `wave`=2 AND `enemy_group`=2 AND `has_reward`=1 AND `reward_template`=1; +INSERT INTO `tos_wave_template` (`wave`, `enemy_group`, `has_reward`, `reward_template`) VALUES (2, 2, 1, 1); +DELETE FROM `tos_wave_template` WHERE `wave`=3 AND `enemy_group`=3 AND `has_reward`=1 AND `reward_template`=1; +INSERT INTO `tos_wave_template` (`wave`, `enemy_group`, `has_reward`, `reward_template`) VALUES (3, 3, 1, 1); +DELETE FROM `tos_wave_template` WHERE `wave`=4 AND `enemy_group`=4 AND `has_reward`=1 AND `reward_template`=1; +INSERT INTO `tos_wave_template` (`wave`, `enemy_group`, `has_reward`, `reward_template`) VALUES (4, 4, 1, 1); + + +DELETE FROM `tos_wave_groups` WHERE `id`=1; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 1, 33537, 'Cult Conspirator'); +DELETE FROM `tos_wave_groups` WHERE `id`=2; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 1, 31145, 'Shadow Adept'); +DELETE FROM `tos_wave_groups` WHERE `id`=3; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 1, 33537, 'Cult Conspirator'); +DELETE FROM `tos_wave_groups` WHERE `id`=4; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 2, 33537, 'Cult Conspirator'); +DELETE FROM `tos_wave_groups` WHERE `id`=5; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 2, 34728, 'Dark Zealot'); +DELETE FROM `tos_wave_groups` WHERE `id`=6; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 2, 32349, 'Cultist Shard Watcher'); +DELETE FROM `tos_wave_groups` WHERE `id`=7; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (1, 3, 33695, 'Cultist Bombardier'); +DELETE FROM `tos_wave_groups` WHERE `id`=8; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 1, 31812, 'Decomposed Ghoul'); +DELETE FROM `tos_wave_groups` WHERE `id`=9; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 1, 31813, 'Frostskull Magus'); +DELETE FROM `tos_wave_groups` WHERE `id`=10; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 1, 31812, 'Decomposed Ghoul'); +DELETE FROM `tos_wave_groups` WHERE `id`=11; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 2, 32770, 'Enraged Fleshrender'); +DELETE FROM `tos_wave_groups` WHERE `id`=12; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 3, 16037, 'Plague Bat'); +DELETE FROM `tos_wave_groups` WHERE `id`=13; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (2, 4, 27734, 'Crypt Fiend'); +DELETE FROM `tos_wave_groups` WHERE `id`=14; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 1, 31254, 'Lordaeron Footsoldier'); +DELETE FROM `tos_wave_groups` WHERE `id`=15; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 1, 32414, 'Lordaeron Captain'); +DELETE FROM `tos_wave_groups` WHERE `id`=16; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 1, 31254, 'Lordaeron Footsoldier'); +DELETE FROM `tos_wave_groups` WHERE `id`=17; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 2, 27745, 'Lordaeron Footman'); +DELETE FROM `tos_wave_groups` WHERE `id`=18; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 2, 27746, 'Lordaeron Knight'); +DELETE FROM `tos_wave_groups` WHERE `id`=19; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 3, 26499, 'Arthas'); +DELETE FROM `tos_wave_groups` WHERE `id`=20; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (3, 3, 27747, 'High Elf Mage-Priest'); +DELETE FROM `tos_wave_groups` WHERE `id`=21; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (4, 1, 27744, 'Infinite Agent'); +DELETE FROM `tos_wave_groups` WHERE `id`=22; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (4, 2, 27743, 'Infinite Hunter'); +DELETE FROM `tos_wave_groups` WHERE `id`=23; +INSERT INTO `tos_wave_groups` (`group`, `sub_group`, `creature`, `note`) VALUES (4, 3, 27742, 'Infinite Adversary');