Commit Graph

1383 Commits

Author SHA1 Message Date
Shauren
fbbcc31670 Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming 2025-07-11 17:47:14 +02:00
Shauren
cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Jason Dove
c7f5696479 Core/Scenarios: Allow scripts to set instance scenario by id (#31104)
* add example at Stratholme service entrance
2025-07-09 00:26:37 +02:00
Naddley
5a4f5c2547 Scripts/Tirisfal: Implement Quest: "A Legend You Can Hold" (#31110) 2025-07-06 16:20:31 +02:00
Jason Dove
c49c5902a7 Scripts/AbyssalDepths: Add whirlpool entrance to Abyssal Maw (#31007) 2025-05-30 15:09:23 +02:00
Jason Dove
a50e1c7ab3 Scripts/RedridgeMountains: Implement Quest "Saving Foreman Oslow" (#30947) 2025-05-30 11:04:07 +02:00
Naddley
451f251e83 Scripts/Stormwind: Script second part of Quest: "The Nation of Kul Tiras" (#30964) 2025-05-27 23:38:19 +02:00
Shauren
05eb63c8a2 Scripts/Misc: Update ScriptPCH content to include most commonly headers 2025-05-11 23:34:45 +02:00
Shauren
0f5d634e38 Scripts: Remove unneccessary DoublePosition from AreaBoundary 2025-02-07 12:47:39 +01:00
Naddley
7fd3e8c4d6 Scripts/Ghostlands: Implement Quest: "To Ghostlands" (#30586) 2025-01-10 22:21:21 +01:00
Meji
98206bf7e8 Scripts/StormwindCity: Implement quest "The Mission" (29548) (#30557) 2025-01-02 21:43:06 +01:00
Shauren
151a50d2aa Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags 2024-12-31 20:14:01 +01:00
Shauren
5e541de574 Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE 2024-12-29 12:59:38 +01:00
ModoX
6b96facee3 Core/AI: Remove default arguments for inter-script communication 2024-12-29 00:17:07 +01:00
ModoX
309ba22a15 Core/AI: Implemented conversation ai (#30538) 2024-12-28 23:25:10 +01:00
Meji
f1079ec271 Scripts/StormwindCity: Implement quest "The King's Command" (29547) (#30459) 2024-11-27 23:21:08 +01:00
Shauren
16bfbe1a3a Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) 2024-07-11 15:24:02 +02:00
Shauren
2e3920081f Core/Creatures: Fixed memory leaks in creature formations 2024-07-08 11:23:41 +02:00
Naddley
ee6ba02a77 Scripts/ScarletHalls: Reverted Call Reinforcements to TARGET_DEST_DB
* 62156f57b2 followup
2024-05-05 05:59:39 +02:00
Naddley
62156f57b2 Scripts/ScarletHalls: Implement Armsmaster Harlan encounter (#29944) 2024-05-05 05:30:37 +02:00
Ovahlord
11f32a2427 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946) 2024-04-28 16:09:43 +02:00
Shauren
dad976beb4 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities) 2024-04-25 00:42:16 +02:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Jeremy
be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Naddley
ee0858d859 Scripts/Stormwind: Implement RP Event for quest "Ancient Curses" (#29780) 2024-03-25 23:19:05 +01:00
Ovahlord
c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren
7751d278b1 Scripts: Removed unused global variables 2024-02-24 13:44:20 +01:00
Jeremy
9c5b8927f8 Core/Battlegrounds: Move some areatrigger handling to scripts (#29700) 2024-02-23 18:09:57 +01:00
Ovahlord
c4a03b9931 Scripts/Baradin Hold: cleaned up some leftovers from Argaloth's rework and applied some missing coding standards 2024-01-23 10:33:00 +01:00
Ovahlord
b3ccf7b710 Scripts/Baradin Hold: rewrite Argaloth encounter (#29604)
* handle all missing mechanics and visuals
* modernized instance script
2024-01-22 12:33:11 +01:00
Ovahlord
ea093fef27 Core/Units: moved CharmInfo class and its definitions into a own file (#29583) 2024-01-16 18:43:32 +01:00
Shauren
605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
ModoX
12186ef857 Core/Waypoints: Refactor to split data into path and node related info in db (#29506) 2024-01-05 17:56:19 +01:00
ModoX
f7a75a58f5 Scripts/DunMorogh: Removed some experimental leftovers from Joren Ironstock script 2024-01-03 01:52:05 +01:00
Naddley
47813ad734 Scripts/Stormwind: Implement Quest "Nation Of KulTiras" (#29547) 2024-01-02 14:55:57 +01:00
Shauren
29d9790402 Scripts/Karazhan: Removed a custom reimplementation of DoMeleeAttackIfReady (written before dual wield was supported by it) 2024-01-01 23:49:11 +01:00
Jeremy
6db980b69e Core/Battlegrounds: Rework Alterac Valley (#29530) 2024-01-01 23:33:25 +01:00
Naddley
0284d9bfb1 Scripts/DunMorogh: Implement Quest "Decontamination" (#29542) 2024-01-01 03:38:59 +01:00
Malcrom
42c5338a63 Scripts/DunMorogh: Implemented Rockjaw Invader spawning for Joren Ironstock (#29519)
Co-authored-by: ModoX <moardox@gmail.com>
2024-01-01 03:38:43 +01:00
Naddley
3dbd171399 Scripts/Stormwind: Implement Quest "Battle for Azeroth: Tides of War" (#29493) 2023-12-31 00:12:41 +01:00
Ovahlord
6e7a4e733a Scripts/Shadowfang Keep: added definitions for the doors and added a comment regarding their usage 2023-12-22 14:36:55 +01:00
Ovahlord
06917b6c43 Scripts/Shadowfang Keep: dropped deprecated scripts and updated instance script and definitions to Cataclysm 2023-12-22 14:29:48 +01:00
Ovahlord
50a2166fb1 Scripts/Deadmines: dropped deprecated scripts and updated instance script and definitions to Cataclysm 2023-12-22 12:51:05 +01:00
Ovahlord
cb5eb983b0 Scripts/Grim Batol: added base instance script and definitions 2023-12-22 12:22:19 +01:00
Ovahlord
e8a9223566 Scripts/Throne of the Tides: added base instance script and definitions 2023-12-22 12:08:25 +01:00
Ovahlord
ddcaaa61a5 Scripts/Bastion of Twilight: corrected dungeon encounter data for Sinestra 2023-12-22 11:42:55 +01:00
Ovahlord
16b7c3cca9 Scripts/Misc: added instance scripts and base definitions for all Cataclysm 4.0 raids 2023-12-22 08:40:11 +01:00
Shauren
78bcc3f52a Core/Misc: Minor code modernization - kill std::bind 2023-12-08 20:27:41 +01:00
ModoX
3f6f683ce4 Core/Waypoints: Drop waypoint_scripts table (#29437) 2023-11-24 21:08:00 +01:00
ModoX
0e2f041728 Core/InstanceScript: Refactored door types to reflect its behavior (#29406) 2023-11-06 00:11:42 +01:00