Commit Graph
21481 Commits
Author SHA1 Message Date
Shauren ff9db332f5 Core/Movement: Minor cleanup in WaypointMovementGenerator - local variable for GetPath() (not a true trivial accessor) 2024-04-19 00:27:18 +02:00
Shauren c5097114d1 Core/Movement: Fixed pauses on waypoint movement happening at wrong times when FollowPathBackwardsFromEndToStart is set and creature is going from end to start 2024-04-18 00:19:33 +02:00
Shauren b5dceafad7 Core/Movement: Minor refactors in WaypointMovementGenerator
* Removed unneccessary _loadedFromDB member (handled by variant index already)
* Apply some const
* Replace stringstream formatting in GetDebugInfo with Trinity::StringFormat
* Moved MovementGeneratorCreator::Create implementations to source files whose movement they create
2024-04-17 15:58:47 +02:00
Shauren e5beb25d25 Core/Pathfinding: Allow using PathGenerator with any source location, not only objects current position 2024-04-17 00:06:56 +02:00
Jeremy 091094aa13 Scripts/Battlegrounds: Implement Twin Peaks (#29924)
Closes #8894
2024-04-16 19:14:11 +02:00
Shauren 0384d90663 Core/Achievements: Fixed achievement SMSG_ACHIEVEMENT_EARNED not being sent to self 2024-04-15 20:09:34 +02:00
Shauren 5dfac0ef14 Core/SAI: Implement waiting for actions on action list to finish before continuing the action list
This is enabled by setting event_flags to SMART_EVENT_FLAG_ACTIONLIST_WAITS on the action that is waited for

Supported actions:
* SMART_ACTION_TALK
* SMART_ACTION_SIMPLE_TALK
* SMART_ACTION_CAST
* SMART_ACTION_SELF_CAST
* SMART_ACTION_INVOKER_CAST
* SMART_ACTION_MOVE_OFFSET
* SMART_ACTION_WP_START
* SMART_ACTION_MOVE_TO_POS
* SMART_ACTION_CROSS_CAST
* SMART_ACTION_ACTIVATE_TAXI
* SMART_ACTION_JUMP_TO_POS
* SMART_ACTION_START_CLOSEST_WAYPOINT
2024-04-14 14:28:40 +02:00
Shauren 325cfd047d Core/Conditions: Added startup error log for conditions using invalid effect index on CONDITION_AURA 2024-04-13 16:16:22 +02:00
Aqua Deus a3f760e383 Scripts/Wandering Isle: Script quest 29419 The Missing Driver (#29821) 2024-04-12 22:30:45 +02:00
Aqua Deus 59333a4d60 Scripts/Quests: Improve quest 29408 (The Lesson of the Burning Scroll) (#29775) 2024-04-12 20:37:22 +02:00
NaddleyandModoX 611110be3b Scripts/Mardum: Implement "Hidden No More" quest accept event (#29899)
Co-Authored-By: ModoX <[email protected]>
2024-04-12 17:30:04 +02:00
Shauren 69da702b93 Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline 2024-04-12 00:18:20 +02:00
Gosha 8c274a8e8d Core/Items: Fix loading secondaryItemModifiedAppearanceSpec5 (#29917) 2024-04-11 22:45:02 +02:00
Shauren 66abcaff14 Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST 2024-04-11 19:59:43 +02:00
Aqua Deus 796b37102a Scripts/Quests: Handle quest 29409 (wandering isle) (#29784) 2024-04-11 19:58:06 +02:00
MejiandShauren 2ce4068459 Core/SAI: Added support for StringIds to creature and gameobject targets (#29910)
Co-authored-by: Shauren <[email protected]>
2024-04-11 10:15:46 +02:00
Shauren bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
ModoX 88bbd27f8d Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons
2024-04-10 20:03:14 +02:00
Shauren 404bb5b3c2 Core/DBLayer: Support retrieving DATE/DATETIME/TIMESTAMP column values directly without casting in sql 2024-04-10 13:59:19 +02:00
ModoX 58839b7c18 Core/Entities: nopch build fix 2024-04-09 17:00:43 +02:00
ModoX 9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +02:00
ModoX 5cea37153e Core/Entities: Added GetStringId helper methods 2024-04-09 16:34:24 +02:00
Shauren b1b16cc139 build fix 2024-04-09 12:55:06 +02:00
Shauren 3545285ad7 Core/Auras: Fixed SPELL_ATTR10_ROLLING_PERIODIC for auras that have 0 base amount and only scale from spell/attack power 2024-04-09 12:23:07 +02:00
Shauren abab484156 Scripts/Forbidden Reach: Fix questgiver for initial quest not being there if you decline first quest popup
Closes #29793
2024-04-08 21:03:27 +02:00
Meji 4f5d1737a3 Core/Gameobjects: Changed the highlight logic for GAMEOBJECT_TYPE_GATHERING_NODE (#29896) 2024-04-08 19:11:32 +02:00
RioMcBoo 958b4726b6 Core/Misc: Fixed forced declined names initialization (#29898)
(cherry picked from commit 4dd200b9e5941c6b323b9159ec3d8239679bf3ab)
2024-04-08 19:03:21 +02:00
Meji c90dbeb648 Core/Quests: Update phaseshift when taking or abandoning quests (#29901) 2024-04-08 13:26:04 +02:00
Shauren f331bd1a28 Core/Spells: "Fixed" Inescapable Torment talent dealing damage to priest when learning (and somtimes killing on login) 2024-04-08 10:58:19 +02:00
8daa3f735d Scripts/Spells: Implemented Priest talent Unfurling Darkness (#29885)
Co-authored-by: Cristian Vintila <[email protected]>
Co-authored-by: Shauren <[email protected]>
2024-04-08 00:41:03 +02:00
Mematoru 79928707f8 Scripts/Spells: Implemented Shadow Priest talent Mind Devourer (#29895) 2024-04-07 19:57:11 +02:00
Shauren be3ae90dc4 Core/Movement: Ensure land and takeoff animations even if gravity enabled/disabled state is not what spline generator expects 2024-04-07 00:05:46 +02:00
Shauren b265c49977 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells 2024-04-06 20:50:59 +02:00
Shauren eb9375b0b1 Core/Scripts: Added basic types for async script actions 2024-04-05 10:41:12 +02:00
Shauren d079a7e267 Core/OutdoorPvP: Fixed shutdown crash 2024-04-04 21:31:41 +02:00
Shauren 7df138ba2b Core/Misc: Replace shared_ptr with unique_ptr with deleter for cleanups in main() functions 2024-04-04 21:31:22 +02:00
Shauren 038f995ad6 Core/Movement: Allow overriding speed for taxi movement generator 2024-04-04 16:17:09 +02:00
Shauren f847cd4eeb Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887
2024-04-03 21:23:30 +02:00
Shauren f1b7ca1a91 Fix codestyle 2024-04-03 16:31:39 +02:00
Shauren 22e43917ab Core/SAI: Allow gameobjects to be targeted by spell casts 2024-04-03 16:21:15 +02:00
Jeremy 90f390f9b8 Scripts/Battleground: Implemented Battle for Gilneas (#29877) 2024-04-02 14:31:09 +02:00
ModoX e8f7d41536 Core/Movement: Added Velocity field to waypoint_path table (#29837) 2024-04-02 04:12:52 +02:00
Meji 47e4bf06d3 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882) 2024-04-01 20:32:08 +02:00
Shauren 2af957c2ad Removed unneccessary c_str() from previous commit 2024-04-01 00:17:00 +02:00
Shauren 4131022f6c Core/Entities: Make ObjectGuid formattable with fmt without using ToString() 2024-03-31 19:32:39 +02:00
Shauren 2c702df4e3 Core/Pets: Removed overriding unit class for pets 2024-03-30 21:52:56 +01: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
Shauren c2ac37125b Core/Players: Use CharBaseInfo.db2 data to determine appropriate race for mercenary mode transforms 2024-03-28 21:11:59 +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
Shauren 39263027d4 Core/Conditions: Extend circular references check for player condition conditions to also handle two different conditions referencing each other 2024-03-27 22:17:25 +01:00