Commit Graph

1358 Commits

Author SHA1 Message Date
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
ModoX
caa4cfb569 Core/AI: Move ArcherAI to individual creature script (#29383) 2023-11-05 21:14:24 +01:00
Shauren
9894f6b802 Core/Random: Changed random functions returning doubles to return floats
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 20:20:00 +01:00
Shauren
47fc3cb852 Core/Instances: Kill instance_encounters table, it is no longer neccessary 2023-09-19 10:59:04 +02:00
Shauren
4370f2fe29 Scripts/Stratholme: Added missing dungeon encounter ids 2023-09-18 19:14:50 +02:00
Shauren
39b06b2e46 Scripts/Scholomance: Added missing dungeon encounter ids 2023-09-18 00:09:04 +02:00
Shauren
7a9fba436c Scripts/Lower Blackrock Spire: Added dungeon encounter ids 2023-09-17 23:53:30 +02:00
Shauren
2b6f0c902f Scripts/Scarlet Monastery: Added dungeon encounter ids 2023-09-17 23:36:47 +02:00
Shauren
7d32674af6 Scripts/Sunken Temple: Added dungeon encounter ids 2023-09-17 23:04:02 +02:00
Shauren
ae26431a81 Scripts/Gnomeregan: Added dungeon encounter ids 2023-09-17 22:06:02 +02:00
Shauren
03d6dd8539 Scripts/Uldaman: Added dungeon encounter ids 2023-09-17 22:01:07 +02:00
Shauren
8de5808fd4 Scripts/Blackrock Depths: Added dungeon encounter ids 2023-09-17 15:06:03 +02:00
Aqua Deus
fa836ee433 Scripts/BlastedLands: Implement intro quest for Assault on the Dark Portal (#29242) 2023-08-24 11:00:06 +02:00
Shauren
1acaed2af4 Core/Objects: Switch to using designated initializers instead of chaining functions for FindCreatureOptions 2023-07-29 23:46:31 +02:00
Shauren
2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
Naddley
ac48da6275 Scripts/ElwynnForest: Implement conversation for "The New Clessington Estate" (#29135)
* human heritage questline
2023-07-21 17:51:56 +02:00
Teleqraph
88ff97c1f9 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-07-20 19:09:27 +02:00
ModoX
a447485991 Core/Conversation: Added some helper methods for scripting 2023-07-08 19:03:26 +02:00
Jeremy
cc08aa8e24 Core/Battlegrounds: Implement Arathi Basin from Battle for Azeroth (#28369)
Co-authored-by: ModoX <moardox@gmail.com>
2023-07-05 23:52:22 +02:00
Naddley
d70d1d24a5 Scripts/ElwynnForest: Implemented conversation for "Rotten Old Memories" (#29122) 2023-07-05 01:16:30 +02:00
Naddley
96f2a97e10 Scripts/ElwynnForest: Implemented quest "An Unlikely Informant" (#29113)
* human heritage questline
2023-07-04 07:19:01 +02:00
Shauren
622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +02:00
Jeremy
205aba1ff3 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags (#28508)
* UNIT_NPC_FLAG_AREA_SPIRIT_HEALER
* UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-09 05:20:35 +02:00
ModoX
89e09dc44e Core/AI: Drop script_waypoints and move data to waypoint_data (#28879) 2023-04-10 04:04:33 +02:00
ModoX
356c98579b Core/SAI: Drop waypoints table and move existing rows to waypoint_data table (#28834) 2023-04-08 01:33:05 +02:00
Teleqraph
c21a01442e Scripts/SilverpineForest: Removed sparring hackfixes (#28896) 2023-04-06 17:26:19 +02:00