-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(SQL): Implement scrapped Coilfang Priestess mechanic (#407)
* init * erm
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/Bracket_70_3_1/sql/world/progression_70_3_1_smart_scripts_ssc.sql
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 @@ | ||
-- | ||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21220) AND (`source_type` = 0) AND (`id` IN (100)); | ||
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`, `event_param6`, `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 | ||
(21220, 0, 100, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 38587, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coilfang Priestess - On Just Died - Cast \'Serverside - Summon Spirit of Redemption\''); | ||
|
||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 22210; | ||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 22210); | ||
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`, `event_param6`, `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 | ||
(22210, 0, 1, 0, 60, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 0, 11, 38589, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess Spirit - On Update - Cast \'Holy Nova\''), | ||
(22210, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess Spirit - On Respawn - Set Reactstate Passive'); | ||
|
||
UPDATE `creature_template` SET `unit_flags` = `unit_flags`|33554432 WHERE (`entry` = 22210); |
10 changes: 10 additions & 0 deletions
10
src/Bracket_71_74/sql/world/progression_70_3_1_smart_scripts_ssc_down.sql
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,10 @@ | ||
-- | ||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21220) AND (`source_type` = 0) AND (`id` IN (100)); | ||
-- 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`, `event_param6`, `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 | ||
-- (21220, 0, 100, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 38587, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coilfang Priestess - On Just Died - Cast \'Serverside - Summon Spirit of Redemption\''); | ||
|
||
UPDATE `creature_template` SET `AIName` = '' WHERE `entry` = 22210; | ||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 22210); | ||
-- 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`, `event_param6`, `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 | ||
-- (22210, 0, 1, 0, 60, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 0, 11, 38589, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess Spirit - On Update - Cast \'Holy Nova\''), | ||
-- (22210, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess Spirit - On Respawn - Set Reactstate Passive'); |