Skip to content

Commit

Permalink
[CDB][Instance] Vekniss Warrior (15230) should run by default
Browse files Browse the repository at this point in the history
Not actually visible as speedwalk is 1.6 and speedrun is 1.71429

Add more Generic dbscripts on relay in Generic Range (30k+)

(cherry picked from commit cmangos/classic-db@e5d40f7

(cherry picked from commit cmangos/tbc-db@9911a46
  • Loading branch information
AnonXS committed Aug 15, 2023
1 parent 7f64061 commit 0bc9c12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Updates/4876_TDB-0166_CDB-4463_generic_run_on_relayscript.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DELETE FROM `dbscripts_on_relay` WHERE `id` IN (30598,30511,30504,30505);
INSERT INTO `dbscripts_on_relay` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `datafloat`, `x`, `y`, `z`, `o`, `speed`, `condition_id`, `comments`) VALUES
(30598, 0, 0, 25, 1, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'GENERIC - Run Mode On'), -- 30599 GENERIC - set Idle
(30511, 0, 0, 21, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'GENERIC - Set Active Object Off'), -- 30510 GENERIC - active Self
(30504, 0, 0, 35, 10, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'GENERIC - Send AI Event 10 (E) to Self'), -- 30502 GENERIC - Send AI Event 8 (C) to Self
(30505, 0, 0, 35, 11, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'GENERIC - Send AI Event 11 (F) to Self'); -- 30503 GENERIC - Send AI Event 9 (D) to Self

3 changes: 3 additions & 0 deletions Updates/Instances/531_temple_of_ahnqiraj.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,9 @@ INSERT INTO `creature_spawn_entry` (`guid`, `entry`) VALUES
(@CGUID+108, 15246),(@CGUID+108, 15250), -- Qiraji Mindslayer, Qiraji Slayer
(@CGUID+109, 15246),(@CGUID+109, 15250); -- Qiraji Mindslayer, Qiraji Slayer

REPLACE INTO `creature_spawn_data_template` (`entry`, `RelayId`, `Name`) VALUES (1523001, 30598, 'Vekniss Warrior (15230) - RelayScript (30598)');
REPLACE INTO `creature_spawn_data` (`guid`, `id`) SELECT `guid`, 1523001 FROM `creature` WHERE `guid` BETWEEN @CGUID+7 AND @CGUID+12;

-- ===========
-- GAMEOBJECTS
-- ===========
Expand Down

0 comments on commit 0bc9c12

Please sign in to comment.