Skip to content

Commit

Permalink
[ACID][Instance] Botanica - rework part 4 (#1206)
Browse files Browse the repository at this point in the history
* Add raid behaving groups to spawn_group (respawn together)

correct their spawn coords

* Add laj room to spawn_groups,

remove waypoints and use creature_spawn_data instead for dead Sunseeker Gene-Splicer
rework Bloodwarder Protector rp intro

* [ACID][Instance] Botanica - rework part 4

* some last db errors
  • Loading branch information
miraco committed May 13, 2024
1 parent fed7da9 commit 60113fb
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 133 deletions.
14 changes: 4 additions & 10 deletions ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26586,21 +26586,16 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- guid based
('5530093','-5530093','1','0','100','1','0','0','55000','600000','0','0','53','5530013','0','0','0','0','0','0','0','0','0','0','Sunseeker Botanist - Start RelayScript OOC'),
('5530095','-5530095','1','0','100','1','0','0','55000','600000','0','0','53','5530014','0','0','0','0','0','0','0','0','0','0','Sunseeker Botanist - Start RelayScript OOC'),
-- Sunseeker Gene-Splicer (4.3.4 Official Data - Normal/Heroic)
('1950701','19507','0','0','100','1027','4800','15300','18100','25300','0','0','11','34642','1','0','0','0','0','0','0','0','0','0','Sunseeker Gene-Splicer (Normal) - Cast Death and Decay'),
('1950702','19507','0','0','100','1029','4800','15300','18100','25300','0','0','11','39347','1','0','0','0','0','0','0','0','0','0','Sunseeker Gene-Splicer (Heroic) - Cast Death and Decay'),
('1950703','19507','0','0','100','1025','22100','29400','34800','37700','0','0','11','34247','1','0','0','0','0','0','0','0','0','0','Sunseeker Gene-Splicer - Cast Summon Lasher Beast'),
-- Sunseeker Gene-Splicer - spell_list
-- Sunseeker Herbalist - spell_list
-- Sunseeker Harvester - spell_list
-- Nethervine Inciter (19511,21563) - creature_spell_list
('1951101','19511','8','0','100','1','34222','-1','0','0','0','0','11','34173','0','0','0','0','0','0','0','0','0','0','Nethervine Inciter - Cast Sunseeker Blessing on Sunseeker Blessing Spellhit'),
-- Nethervine Reaper 19512 (4.3.4 Official Data - Normal/Heroic)
('1951201','19512','8','0','100','1','34222','-1','0','0','0','0','11','34173','0','0','0','0','0','0','0','0','0','0','Nethervine Reaper - Cast Sunseeker Blessing on Sunseeker Blessing Spellhit'),
-- Mutate Fear-Shrieker (FEAR SPELL WAS REMOVED IN 4.x.x)
('1951301','19513','0','0','100','1025','8000','24000','28000','36000','0','0','11','30584','0','0','0','0','0','0','0','0','0','0','Mutate Fear-Shrieker - Cast Fear'),
-- Mutate Fear-Shrieker - spell_list
-- Greater Frayer - spell_list
-- Mutate Fleshlasher (4.3.4 Official Data - Normal/Heroic)
('1959801','19598','0','0','100','1025','7800','12100','6200','12100','0','0','11','34351','1','0','0','0','0','0','0','0','0','0','Mutate Fleshlasher - Cast Vicious Bite'),
-- Mutate Fleshlasher - spell_list
-- Frayer Wildling (4.3.4 Official Data - Normal/Heroic)
('1960801','19608','0','0','100','1027','4200','8100','4100','10200','0','0','11','34644','1','0','0','0','0','0','0','0','0','0','Frayer Wildling (Normal) - Cast Lash'),
('1960802','19608','0','0','100','1029','4200','8100','4100','8300','0','0','11','39122','1','0','0','0','0','0','0','0','0','0','Frayer Wildling (Heroic) - Cast Lash'),
Expand Down Expand Up @@ -26635,8 +26630,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('2008301','20083','11','0','100','0','0','0','0','0','0','0','11','34815','0','0','0','0','0','0','0','0','0','0','Summoned Bloodwarder Mender - Cast Teleport Effect on Spawn'),
('2008302','20083','1','0','100','0','2000','2000','0','0','0','0','38','0','0','0','0','0','0','0','0','0','0','0','Summoned Bloodwarder Mender - Zone Combat Pulse'),
('2008303','20083','1','0','100','0','5000','5000','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Summoned Bloodwarder Mender - Despawn 5 secs OOC'),
-- Mutate Fleshlasher (4.3.4 Official Data - Normal/Heroic)
('2535401','25354','0','0','100','1025','7800','12100','6200','12100','0','0','11','34351','1','0','0','0','0','0','0','0','0','0','Mutate Fleshlasher - Cast Vicious Bite'),
-- Mutate Fleshlasher - spell_list



Expand Down
70 changes: 70 additions & 0 deletions Updates/0395_bota_spell_list.sql
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,73 @@ INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `Combat
UPDATE `creature_template` SET `SpellList` = 1950501 WHERE `entry` = 19505;
UPDATE `creature_template` SET `SpellList` = 2157101 WHERE `entry` = 21571;


-- Sunseeker Gene-Splicer 19507
DELETE FROM `creature_template_spells` WHERE `entry` IN (19507, 21573);

DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1950701, 2157301);
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(1950701, 'Botanica - Sunseeker Gene-Splicer - Normal', 0, 0),
(2157301, 'Botanica - Sunseeker Gene-Splicer - Heroic', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (1950701, 2157301);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(1950701, 1, 34247, 0, -1, 1, 0, 100, 0, 19000, 24000, 32000, 38000, 'Sunseeker Gene-Splicer - Summon Lasher Beast'),
(1950701, 2, 34642, 0, -1, 1, 0, 100, 0, 5000, 16000, 12000, 23000, 'Sunseeker Gene-Splicer - Death and Decay - current'),
(2157301, 1, 34247, 0, -1, 1, 0, 100, 0, 19000, 24000, 32000, 38000, 'Sunseeker Gene-Splicer - Summon Lasher Beast'),
(2157301, 2, 39347, 0, -1, 1, 0, 100, 0, 5000, 16000, 12000, 23000, 'Sunseeker Gene-Splicer - Death and Decay - current');


UPDATE `creature_template` SET `SpellList` = 1950701 WHERE `entry` = 19507;
UPDATE `creature_template` SET `SpellList` = 2157301 WHERE `entry` = 21573;


-- Mutate Fear-Shrieker 19513
DELETE FROM `creature_template_spells` WHERE `entry` IN (19513, 21560);

DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1951301, 2156001);
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(1951301, 'Botanica - Mutate Fear-Shrieker - Normal', 0, 0),
(2156001, 'Botanica - Mutate Fear-Shrieker - Heroic', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (1951301, 2156001);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(1951301, 1, 30584, 0, -1, 1, 0, 100, 0, 8000, 24000, 28000, 36000, 'Mutate Fear-Shrieker - Fear'),
(2156001, 1, 30584, 0, -1, 1, 0, 100, 0, 8000, 24000, 28000, 36000, 'Mutate Fear-Shrieker - Fear');


UPDATE `creature_template` SET `SpellList` = 1951301 WHERE `entry` = 19513;
UPDATE `creature_template` SET `SpellList` = 2156001 WHERE `entry` = 21560;

-- Mutate Fleshlasher 19598
DELETE FROM `creature_template_spells` WHERE `entry` IN (19598, 21561);

DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1959801, 2156101);
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(1959801, 'Botanica - Mutate Fleshlasher - Normal', 0, 0),
(2156101, 'Botanica - Mutate Fleshlasher - Heroic', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (1959801, 2156101);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(1959801, 1, 34351, 0, -1, 1, 0, 100, 0, 6000, 20000, 6000, 20000, 'Mutate Fleshlasher - Vicious Bite'),
(2156101, 1, 34351, 0, -1, 1, 0, 100, 0, 6000, 20000, 6000, 20000, 'Mutate Fleshlasher - Vicious Bite');


UPDATE `creature_template` SET `SpellList` = 1959801 WHERE `entry` = 19598;
UPDATE `creature_template` SET `SpellList` = 2156101 WHERE `entry` = 21561;


-- Mutate Fleshlasher - spawned from Summon Lasher Beast spell 25354
DELETE FROM `creature_template_spells` WHERE `entry` IN (25354);

DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (2535401);
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(2535401, 'Botanica - Mutate Fleshlasher', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (2535401);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(2535401, 1, 34351, 0, -1, 1, 0, 100, 0, 6000, 20000, 6000, 20000, 'Mutate Fleshlasher - Vicious Bite');


UPDATE `creature_template` SET `SpellList` = 2535401 WHERE `entry` = 25354;

2 changes: 1 addition & 1 deletion Updates/0396_bota_cleanup.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- DELETE unused dbscripts_on_creature_movement from botanica
DELETE FROM dbscripts_on_creature_movement WHERE id IN (1797602, 1797603, 1797604, 1799305, 1842005, 1842006, 1842201, 1842202, 1842203);
DELETE FROM dbscripts_on_creature_movement WHERE id IN (1797602, 1797603, 1797604, 1799305, 1842004, 1842005, 1842006, 1842201, 1842202, 1842203, 1950503, 1950504, 1950505, 1950506, 1950701);

-- Text should be TextEmote
UPDATE broadcast_text SET ChatTypeID = '2' WHERE Id = '16944';
Expand Down
Loading

0 comments on commit 60113fb

Please sign in to comment.