Skip to content

Commit

Permalink
Merge branch '3.3.5' into npcbots_3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Oct 15, 2023
2 parents 11a7199 + 608f1c9 commit 505ecc9
Show file tree
Hide file tree
Showing 92 changed files with 2,164 additions and 867 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Copy dll files
shell: bash
run: |
cp "/c/Program Files/OpenSSL-Win64/bin/legacy.dll" "env/dist"
cp "/c/Program Files/OpenSSL/bin/legacy.dll" "env/dist"
- name: Dry run authserver
shell: bash
run: |
Expand Down
4 changes: 0 additions & 4 deletions apps/docker/docker-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,20 @@ while [[ $# -gt 0 ]]; do
pull)
set -x
docker compose --profile local --profile dev --profile dev-build pull
docker image prune -f
set +x
shift
;;

build:nocache)
set -x
docker compose --profile local --profile dev --profile dev-build build --no-cache
docker image prune -f
docker compose run --rm --no-deps ac-dev-build /bin/bash /azerothcore/apps/docker/docker-build-dev.sh
set +x
shift
;;

clean:build)
set -x
docker image prune -f
docker compose run --rm --no-deps ac-dev-server bash acore.sh compiler clean
docker compose run --rm --no-deps ac-dev-server bash acore.sh compiler ccacheClean
set +x
Expand Down Expand Up @@ -141,7 +138,6 @@ while [[ $# -gt 0 ]]; do
build:prod|prod:build)
set -x
docker compose --profile prod build
docker image prune -f
set +x
shift
;;
Expand Down
5 changes: 5 additions & 0 deletions data/sql/updates/db_world/2023_10_01_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- DB update 2023_09_29_00 -> 2023_10_01_00
--
DELETE FROM `creature_text` WHERE `CreatureId` = 16524 AND `GroupID` = 10;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16524, 10, 0, '%s begins channelling his mana into a powerful arcane spell.', 16, 0, 100, 13515, 3, 'Shade of Aran EMOTE_ARCANE_EXPLOSION');
5 changes: 5 additions & 0 deletions data/sql/updates/db_world/2023_10_01_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- DB update 2023_10_01_00 -> 2023_10_01_01
--
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 17265;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Rooted`) VALUES
(17265, 1, 1);
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2023_10_01_02.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2023_10_01_01 -> 2023_10_01_02
--
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` = 17535;
95 changes: 95 additions & 0 deletions data/sql/updates/db_world/2023_10_01_03.sql

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions data/sql/updates/db_world/2023_10_01_04.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- DB update 2023_10_01_03 -> 2023_10_01_04
-- #12145 midsummer add spell script spell_midsummer_ribbon_pole_visual
DELETE FROM `spell_script_names` WHERE `spell_id` IN (29531, 29705, 29726, 29727);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(29531, 'spell_midsummer_ribbon_pole_visual'),
(29705, 'spell_midsummer_ribbon_pole_visual'),
(29726, 'spell_midsummer_ribbon_pole_visual'),
(29727, 'spell_midsummer_ribbon_pole_visual');
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2023_10_05_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2023_10_01_04 -> 2023_10_05_00
--
DELETE FROM `spell_threat` WHERE `entry`=29166;
5 changes: 5 additions & 0 deletions data/sql/updates/db_world/2023_10_07_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- DB update 2023_10_05_00 -> 2023_10_07_00
-- Banner of Provocation
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceGroup` = 0 AND `SourceEntry` = 27517;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 27517, 0, 0, 30, 0, 181058, 20, 0, 1, 25, 0, '', 'Allow using "Banner of Provocation" if there are no other banners within 20y.');
8 changes: 8 additions & 0 deletions data/sql/updates/db_world/2023_10_07_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- DB update 2023_10_07_00 -> 2023_10_07_01
-- Lord Valthalak's Amulet
DELETE FROM `spell_script_names` WHERE `spell_id`=27360;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (27360, 'spell_gen_valthalak_amulet');

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceGroup` = 0 AND `SourceEntry` = 27360;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 27360, 0, 0, 29, 0, 16073, 50, 0, 1, 0, 0, '', 'Allow using Lord Valthalak\'s Amulet only if there is no Spirit of Lord Valthalak within 50 yards.');
44 changes: 44 additions & 0 deletions data/sql/updates/db_world/2023_10_07_02.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
-- DB update 2023_10_07_01 -> 2023_10_07_02
-- Stone Fury from Trinity
UPDATE `creature_template` SET `MovementType` = 2 WHERE (`entry` = 2258);

DELETE FROM `creature_template_addon` WHERE (`entry` = 2258);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(2258, 639130, 0, 0, 1, 0, 0, '');

DELETE FROM `creature` WHERE (`id1` = 2258) AND (`guid` IN (63913));
INSERT INTO `creature` (`guid`, `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`) VALUES
(63913, 2258, 0, 0, 0, 0, 0, 1, 1, 0, 664.315, -1027.59, 160.39, 5.21757, 72000, 0, 0, 1536, 0, 2, 0, 0, 0, '', 0);

DELETE FROM `waypoint_data` WHERE `id` = 639130;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(639130, 1, 664.315, -1027.59, 160.39, NULL, 0, 0, 0, 100, 0),
(639130, 2, 654.02, -1032.34, 163.127, NULL, 0, 0, 0, 100, 0),
(639130, 3, 634.638, -1041.36, 163.816, NULL, 0, 0, 0, 100, 0),
(639130, 4, 622.304, -1055.48, 163.186, NULL, 0, 0, 0, 100, 0),
(639130, 5, 620.168, -1114.91, 160.186, NULL, 0, 0, 0, 100, 0),
(639130, 6, 627.218, -1131.61, 159.535, NULL, 0, 0, 0, 100, 0),
(639130, 7, 631.939, -1149.35, 155.421, NULL, 0, 0, 0, 100, 0),
(639130, 8, 629.934, -1192.34, 145.181, NULL, 0, 0, 0, 100, 0),
(639130, 9, 633.981, -1229.12, 136.877, NULL, 0, 0, 0, 100, 0),
(639130, 10, 634.73, -1271.43, 121.429, NULL, 0, 0, 0, 100, 0),
(639130, 11, 627.306, -1321.81, 106.197, NULL, 0, 0, 0, 100, 0),
(639130, 12, 629.422, -1375.57, 93.9589, NULL, 0, 0, 0, 100, 0),
(639130, 13, 643.925, -1408.88, 87.1831, NULL, 0, 0, 0, 100, 0),
(639130, 14, 668.443, -1437.6, 81.8552, NULL, 0, 0, 0, 100, 0),
(639130, 15, 708.689, -1455.94, 81.4619, NULL, 0, 0, 0, 100, 0),
(639130, 16, 745.689, -1459.7, 80.3421, NULL, 0, 0, 0, 100, 0),
(639130, 17, 708.769, -1455.86, 81.4599, NULL, 0, 0, 0, 100, 0),
(639130, 18, 667.903, -1437.37, 81.9153, NULL, 0, 0, 0, 100, 0),
(639130, 19, 643.733, -1408.63, 87.2146, NULL, 0, 0, 0, 100, 0),
(639130, 20, 629.19, -1375.19, 94.0446, NULL, 0, 0, 0, 100, 0),
(639130, 21, 627.374, -1321.59, 106.257, NULL, 0, 0, 0, 100, 0),
(639130, 22, 634.783, -1271.27, 121.478, NULL, 0, 0, 0, 100, 0),
(639130, 23, 633.98, -1228.57, 137.007, NULL, 0, 0, 0, 100, 0),
(639130, 24, 629.947, -1191.76, 145.328, NULL, 0, 0, 0, 100, 0),
(639130, 25, 631.939, -1148.87, 155.504, NULL, 0, 0, 0, 100, 0),
(639130, 26, 627.116, -1131.07, 159.662, NULL, 0, 0, 0, 100, 0),
(639130, 27, 620.092, -1114.7, 160.189, NULL, 0, 0, 0, 100, 0),
(639130, 28, 622.218, -1054.98, 163.22, NULL, 0, 0, 0, 100, 0),
(639130, 29, 634.789, -1041.15, 163.826, NULL, 0, 0, 0, 100, 0),
(639130, 30, 653.802, -1032.34, 163.225, NULL, 0, 0, 0, 100, 0);
4 changes: 4 additions & 0 deletions data/sql/updates/db_world/2023_10_08_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- DB update 2023_10_07_02 -> 2023_10_08_00
--
DELETE FROM `command` WHERE `name`='commentator';
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('commentator', 2, 'Syntax: .commentator [on/off]\r\n\r\nEnable or Disable in game Commentator tag or show current state if on/off not provided.');
77 changes: 77 additions & 0 deletions data/sql/updates/db_world/2023_10_08_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
-- DB update 2023_10_08_00 -> 2023_10_08_01
-- Blackrock Depths - Dark Iron Deposit(s)
DELETE FROM `gameobject` WHERE `id` = 165658 AND `map` = 230;
DELETE FROM `pool_template` WHERE `entry` BETWEEN 11700 AND 11705;
DELETE FROM `pool_gameobject` WHERE `pool_entry` BETWEEN 11700 AND 11705 AND `guid` BETWEEN 10601 and 10626;

INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
(10601, 165658, 230, 0, 0, 1, 1, 884.448, -410.508, -48.2044, 4.34587, 0, 0, -0.824126, 0.566406, 604800, 100, 1),
(10602, 165658, 230, 0, 0, 1, 1, 1215.01, -384.236, -98.9694, 1.79769, 0, 0, 0.782608, 0.622515, 604800, 100, 1),
(10603, 165658, 230, 0, 0, 1, 1, 418.63, -158.696, -63.1528, 0.226893, 0, 0, 0.113203, 0.993572, 604800, 100, 1),
(10604, 165658, 230, 0, 0, 1, 1, 980.556, -419.592, -59.3434, 4.4855, 0, 0, -0.782608, 0.622515, 604800, 100, 1),
(10605, 165658, 230, 0, 0, 1, 1, 756.207, 158.727, -72.2169, -1.23918, 0, 0, -0.580703, 0.814116, 604800, 100, 1),
(10606, 165658, 230, 0, 0, 1, 1, 640.727, 28.869, -74.0452, 1.8675, 0, 0, 0.803857, 0.594823, 604800, 100, 1),
(10607, 165658, 230, 0, 0, 1, 1, 1002.0756, -395.6539, -64.0793, 0.15708, 0, 0, 0.0784591, 0.996917, 604800, 100, 1),
(10608, 165658, 230, 0, 0, 1, 1, 646.092, 193.607, -72.1246, 0.523598, 0, 0, 0.258819, 0.965926, 604800, 100, 1),
(10609, 165658, 230, 0, 0, 1, 1, 670.734, -201.308, -78.1551, 3.75246, 0, 0, -0.953716, 0.300708, 604800, 100, 1),
(10610, 165658, 230, 0, 0, 1, 1, 673.099, -21.6642, -73.7605, 2.74016, 0, 0, 0.979924, 0.19937, 604800, 100, 1),
(10611, 165658, 230, 0, 0, 1, 1, 313.624, -211.422, -77.3546, -0.663223, 0, 0, -0.325567, 0.945519, 604800, 100, 1),
(10612, 165658, 230, 0, 0, 1, 1, 1014.22, -356.364, -65.7033, 1.13446, 0, 0, 0.537299, 0.843392, 604800, 100, 1),
(10613, 165658, 230, 0, 0, 1, 1, 637.928, -162.775, -70.9528, -2.75761, 0, 0, -0.981627, 0.190812, 604800, 100, 1),
(10614, 165658, 230, 0, 0, 1, 1, 545.169, -128.195, -60.3184, -1.72788, 0, 0, 0.760406, -0.649448, 604800, 100, 1),
(10615, 165658, 230, 0, 0, 1, 1, 977.641, -316.468, -70.6036, 1.79769, 0, 0, 0.782608, 0.622515, 604800, 100, 1),
(10616, 165658, 230, 0, 0, 1, 1, 636.57, -274.759, -83.7882, 4.01426, 0, 0, -0.906307, 0.422619, 604800, 100, 1),
(10617, 165658, 230, 0, 0, 1, 1, 679.721, 102.181, -73.2564, -1.18682, 0, 0, 0.559193, -0.829037, 604800, 100, 1),
(10618, 165658, 230, 0, 0, 1, 1, 634.768, -56.406, -73.6264, 2.96704, 0, 0, 0.996194, 0.087165, 604800, 100, 1),
(10619, 165658, 230, 0, 0, 1, 1, 327.184, -58.5715, -71.3615, 0.715585, 0, 0, 0.350207, 0.936672, 604800, 100, 1),
(10620, 165658, 230, 0, 0, 1, 1, 1204.1, -350.158, -93.6315, 0.59341, 0, 0, 0.292371, 0.956305, 604800, 100, 1),
(10621, 165658, 230, 0, 0, 1, 1, 918.903, -447.008, -53.8907, 0.261798, 0, 0, 0.130526, 0.991445, 604800, 100, 1),
(10622, 165658, 230, 0, 0, 1, 1, 748.476, -53.7894, -71.278, 2.96706, 0, 0, 0.996195, 0.0871558, 604800, 100, 1),
(10623, 165658, 230, 0, 0, 1, 1, 291.891, -122.786, -69.1713, 1.41372, 0, 0, 0.649447, 0.760406, 604800, 100, 1),
(10624, 165658, 230, 0, 0, 1, 1, 503.193, -190.118, -59.3156, -0.401426, 0, 0, 0.199368, -0.979925, 604800, 100, 1),
(10625, 165658, 230, 0, 0, 1, 1, 643.342, 144.62, -73.8284, 0.523598, 0, 0, 0.258819, 0.965926, 604800, 100, 1),
(10626, 165658, 230, 0, 0, 1, 1, 964.466, -436.64, -54.6864, 5.96903, 0, 0, -0.156434, 0.987688, 604800, 100, 1);

SET
@Bridge = 11700,
@Prison = 11701,
@Arena = 11702,
@Gar = 11703,
@Highway = 11704,
@City = 11705;

INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(@Bridge, 1, 'BRD - Dark Iron Deposit - Bridge'),
(@Prison, 1, 'BRD - Dark Iron Deposit - Prison'),
(@Arena, 1, 'BRD - Dark Iron Deposit - Arena'),
(@Gar, 1, 'BRD - Dark Iron Deposit - Gar'),
(@Highway, 1, 'BRD - Dark Iron Deposit - Highway'),
(@City, 1, 'BRD - Dark Iron Deposit - City');

INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(10602, @Bridge, 0, 'Dark Iron Deposit - Bridge'),
(10620, @Bridge, 0, 'Dark Iron Deposit - Bridge'),
(10619, @Prison, 0, 'Dark Iron Deposit - Prison'),
(10623, @Prison, 0, 'Dark Iron Deposit - Prison'),
(10611, @Prison, 0, 'Dark Iron Deposit - Prison'),
(10603, @Prison, 0, 'Dark Iron Deposit - Prison'),
(10624, @Arena, 0, 'Dark Iron Deposit - Arena'),
(10616, @Arena, 0, 'Dark Iron Deposit - Arena'),
(10609, @Arena, 0, 'Dark Iron Deposit - Arena'),
(10613, @Arena, 0, 'Dark Iron Deposit - Arena'),
(10614, @Arena, 0, 'Dark Iron Deposit - Arena'),
(10608, @Gar, 0, 'Dark Iron Deposit - Gar'),
(10625, @Gar, 0, 'Dark Iron Deposit - Gar'),
(10617, @Gar, 0, 'Dark Iron Deposit - Gar'),
(10605, @Gar, 0, 'Dark Iron Deposit - Gar'),
(10606, @Highway, 0, 'Dark Iron Deposit - Highway'),
(10610, @Highway, 0, 'Dark Iron Deposit - Highway'),
(10618, @Highway, 0, 'Dark Iron Deposit - Highway'),
(10622, @Highway, 0, 'Dark Iron Deposit - Highway'),
(10615, @City, 0, 'Dark Iron Deposit - City'),
(10612, @City, 0, 'Dark Iron Deposit - City'),
(10607, @City, 0, 'Dark Iron Deposit - City'),
(10604, @City, 0, 'Dark Iron Deposit - City'),
(10626, @City, 0, 'Dark Iron Deposit - City'),
(10621, @City, 0, 'Dark Iron Deposit - City'),
(10601, @City, 0, 'Dark Iron Deposit - City');
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2023_10_08_02.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2023_10_08_01 -> 2023_10_08_02
-- Ghostweave Patterns
DELETE FROM `reference_loot_template` WHERE `Entry` IN (24708,24709) AND `Item` IN (14495,14480,14473,14477);
19 changes: 19 additions & 0 deletions data/sql/updates/db_world/2023_10_08_03.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- DB update 2023_10_08_02 -> 2023_10_08_03
-- "Dirty" Michael Crowe
DELETE FROM `waypoint_data` WHERE `id`=306490;
DELETE FROM `waypoint_scripts` WHERE `id`=23;
DELETE FROM `creature_addon` WHERE `guid` = 30649;
UPDATE `creature` SET `MovementType` = 0 WHERE `id1` = 23896 AND `guid` = 30649;

DELETE FROM `creature_template_addon` WHERE (`entry` = 23896);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(23896, 0, 0, 0, 1, 0, 0, '');

DELETE FROM `creature_text` WHERE `CreatureID`=23896;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(23896, 0, 0, 'You might wanna stand back. Fish guttin\' is a dirty job.', 12, 0, 100, 1, 0, 0, 22392, 0, '"Dirty" Michael Crowe');

UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 23896;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 23896);
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
(23896, 0, 0, 0, 1, 0, 100, 0, 60000, 120000, 60000, 120000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '"Dirty" Michael Crowe - Out of Combat - Say Line 0');
18 changes: 18 additions & 0 deletions data/sql/updates/db_world/2023_10_08_04.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- DB update 2023_10_08_03 -> 2023_10_08_04
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (1561,3643) AND `source_type` = 1;
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
-- Sealed Crate
(1561, 1, 0, 0, 19, 0, 100, 0, 74, 0, 0, 0, 0, 0, 12, 2044, 1, 30000, 0, 0, 0, 8, 0, 0, 0, 0, -8841.93, 985.171, 98.6999, 6.00926, 'Sealed Crate - On Quest \'The Legend of Stalvan\' Taken - Summon Creature \'Forlorn Spirit\''),
-- Old Footlocker
(3643, 1, 0, 0, 20, 0, 100, 0, 67, 0, 0, 0, 0, 0, 12, 2044, 2, 30000, 0, 0, 0, 8, 0, 0, 0, 0, -10951.4, 1568.86, 46.9779, 3.75142, 'Old Footlocker - On Quest \'The Legend of Stalvan\' Finished - Summon Creature \'Forlorn Spirit\'');

-- Forlorn Spirit
DELETE FROM `smart_scripts` WHERE `entryorguid` = 2044 AND `source_type` = 0;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 204400 AND `source_type` = 9;

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
(2044, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 204400, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - On Respawn - Run Script'),
(2044, 0, 1, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 0, 11, 3105, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - In Combat - Cast \'Curse of Stalvan\''),
(2044, 0, 2, 0, 0, 0, 100, 0, 10000, 15000, 18500, 27000, 0, 0, 11, 118, 32, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - In Combat - Cast \'Polymorph\' (Skip Tank)'),
(204400, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 15, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - Actionlist - Say Line 0'),
(204400, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 15, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - Actionlist - Start Attacking');
9 changes: 9 additions & 0 deletions data/sql/updates/db_world/2023_10_08_05.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- DB update 2023_10_08_04 -> 2023_10_08_05
-- Terrorclaw
DELETE FROM `creature_template_addon` WHERE (`entry` = 20477);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(20477, 0, 0, 0, 0, 0, 0, '35408');

DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 20477;
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
(20477, 0, 0, 0, 0, 0, 100, 0, 2000, 2000, 5000, 9000, 0, 0, 11, 40504, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Terrorclaw - In Combat - Cast \'Cleave\'');
10 changes: 10 additions & 0 deletions data/sql/updates/db_world/2023_10_08_06.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- DB update 2023_10_08_05 -> 2023_10_08_06
-- Pamela's Doll
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 10926;

DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 10926);
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1092600);
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
(10926, 0, 0, 0, 20, 0, 100, 0, 5149, 0, 0, 0, 0, 0, 80, 1092600, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Pamela Redpath - On Quest \'Pamela\'s Doll\' Finished - Run Script'),
(1092600, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Pamela Redpath - Actionlist - Say Line 4'),
(1092600, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Pamela Redpath - Actionlist - Say Line 5');
Loading

0 comments on commit 505ecc9

Please sign in to comment.