Compare commits

...

21 Commits

Author SHA1 Message Date
sogladev
7f14636a46
Merge 0eba51c73b6ed601aeb620736b64de2c4f47fd53 into dab83dd19eeee975bb7e8bb70c29064eba3bf334 2025-11-08 11:29:55 +00:00
Jelle Meeus
0eba51c73b
add Parachute on exit 2025-11-08 12:29:10 +01:00
Jelle Meeus
18c7d705cf
Merge remote-tracking branch 'upstream/master' into fix/assault-by-air 2025-11-08 11:42:33 +01:00
Jelle Meeus
ac7e896ec8
remove some changes 2025-11-02 11:50:25 +01:00
Jelle Meeus
045ce0785d
Merge remote-tracking branch 'upstream/master' into fix/assault-by-air 2025-11-02 10:43:42 +01:00
Jelle Meeus
94be21c85b
add immune NPC to body 2025-10-14 01:22:02 +02:00
Jelle Meeus
b57b31c4de
fix passengers attacking player 2025-10-14 01:09:12 +02:00
Jelle Meeus
a5dcdf4fe1
fixup! remove NPC immunity from turret vehicle 2025-10-14 01:00:19 +02:00
Jelle Meeus
c9c3af8d3f
fixup! lower turret shoot action chance 2025-10-14 00:37:12 +02:00
Jelle Meeus
8fe081f3e4
Revert "more reliable interrupt"
This reverts commit 643b795f988b02eb3b925fa6c878fcea860dce94.
2025-10-14 00:30:22 +02:00
Jelle Meeus
b54e283e26
remove NPC immunity from turret vehicle 2025-10-13 23:54:08 +02:00
Jelle Meeus
b97b0450b0
fix pilot despawn instead of dying 2025-10-13 23:48:11 +02:00
Jelle Meeus
643b795f98
more reliable interrupt 2025-10-13 23:40:46 +02:00
Jelle Meeus
13ceca4111
fix vehicle attacking player 2025-10-13 23:40:46 +02:00
Jelle Meeus
8b589388e3
lower turret shoot action chance
else quest becomes impossible
2025-10-13 23:40:46 +02:00
Jelle Meeus
73db7585e4
fix seat not despawning 2025-10-13 23:40:46 +02:00
Jelle Meeus
0dac96f9a5
add quest conditional for vehicle entry 2025-10-13 23:40:46 +02:00
Jelle Meeus
f5e59bd574
fix damage done by spear
remove armor
2025-10-13 23:40:46 +02:00
Jelle Meeus
c773f2a25d
reduce shoot range to 90
this matches spell dbc
2025-10-13 23:40:46 +02:00
Jelle Meeus
b3e20b5000
Merge remote-tracking branch 'upstream/master' into fix/assault-by-air 2025-10-13 22:13:51 +02:00
Jelle Meeus
a255c17062
fix(DB/SmartAI): quest Assault by Air attack Alliance and Horde players
- modify event to try to shoot Player's turret instead of the body
- add shoot turret event to target Alliance turret
- add spawn for Horde vehicle to match the Alliance
2025-10-01 19:32:50 +02:00

View File

@ -0,0 +1,24 @@
--
SET @CGUID := 20861;
DELETE FROM `creature` WHERE (`id1` = 31881) AND (`guid` = @CGUID);
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`, `Comment`, `VerifiedBuild`) VALUES
(@CGUID, 31881, 0, 0, 571, 0, 0, 1, 1, 0, 7505.81, 1707.04, 350.194, 1.53589, 300, 0, 0, 63000, 0, 0, 0, 0, 0, '', '', 0);
UPDATE `creature_template` SET `ArmorModifier` = 0 WHERE (`entry` = 32227);
-- Disable Gravity, allows Parachute on exit
DELETE FROM `creature_template_movement` WHERE (`CreatureId` IN (31884, 32227));
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(31884, 0, 0, 1, 0, 0, 0, 0),
(32227, 0, 0, 1, 0, 0, 0, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 18) AND (`SourceGroup` IN (31884, 32227)) AND (`SourceEntry` = 46598) AND (`SourceId` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(18, 31884, 46598, 0, 0, 9, 0, 13310, 0, 0, 0, 0, 0, '', 'Kor\'kron Suppression Turret requires player to be on quest Assault by Air'),
(18, 32227, 46598, 0, 0, 9, 0, 13309, 0, 0, 0, 0, 0, '', 'Skybreaker Suppression Turret requires player to be on quest Assault by Air');
UPDATE `vehicle_template_accessory` SET `summontype`=5 WHERE `entry`=31881 AND `seat_id`=1;
UPDATE `vehicle_template_accessory` SET `summontype`=5 WHERE `entry`=32225 AND `seat_id`=1;
-- Prevent vehicle and passengers to attack players from the opposite faction
UPDATE `creature_template` SET `unit_flags` = `unit_flags` | 256 WHERE (`entry` IN (32225, 31881, 31882, 31891, 32223, 32225));