Skip to content

Commit 1d8caf1

Browse files
authored
DB/SAI: Add forced despawn in 3 seconds on death to all Ring of Blood npc
close #30764 by CraftedRO
1 parent c075134 commit 1d8caf1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- Add forced despawn in 3 seconds after death to all Ring of Blood npc.
2+
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (18398,18399,18400,18401,18402,18069);
3+
4+
-- Brokentoe
5+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18398 AND `source_type`=0 AND `id`=3;
6+
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
7+
(18398, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Brokentoe - On Just Died - Force Despawn in 5 sec");
8+
9+
-- Murkblood Twin
10+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18399 AND `source_type`=0 AND `id`=13;
11+
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
12+
(18399, 0, 13, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Murkblood Twin - On Just Died - Force Despawn in 5 sec");
13+
14+
-- Rokdar the Sundered Lord
15+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18400 AND `source_type`=0 AND `id`=7;
16+
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
17+
(18400, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Rokdar the Sundered Lord - On Just Died - Force Despawn in 5 sec");
18+
19+
-- Skra'gath
20+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18401 AND `source_type`=0 AND `id`=5;
21+
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
22+
(18401, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Skra'gath - On Just Died - Force Despawn in 5 sec");
23+
24+
-- Warmaul Champion
25+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18402 AND `source_type`=0 AND `id`=7;
26+
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
27+
(18402, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Warmaul Champion - On Just Died - Force Despawn in 5 sec");
28+
29+
-- Mogor <Hero of the Warmaul>
30+
DELETE FROM `smart_scripts` WHERE `entryorguid`=18069 AND `source_type`=0 AND `id`=28;
31+
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
32+
(18069, 0, 28, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Mogor - On Just Died - Force Despawn in 5 sec");

0 commit comments

Comments
 (0)