Commit Graph

42507 Commits

Author SHA1 Message Date
Shauren
a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
ModoX
cdc6719b83 Core: Updated to 10.2.6.54499 2024-05-01 21:33:08 +02:00
Shauren
8e3024a96a Core/Misc: Refactor loading process to remove exit() calls that cause deadlocks because threads are terminated without proper cleanup 2024-04-30 00:20:38 +02:00
Shauren
cc92417844 Core/Items: Implemented packets setting up inventory cleanup parameters 2024-04-29 00:06:02 +02:00
Shauren
9dcc6c0207 Core/Proto: Regenerate LoginResult to include next_url 2024-04-28 16:20:25 +02:00
Phaneron
e32ef420fa Core/Proto: Added missing 'next_url' field to Login.proto 2024-04-28 16:20:25 +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
250984a7b7 Scripts/Items: Updated Amalgam's Seventh Spine script - fixed auras lingering after removal and added new case for evokers 2024-04-27 19:58:00 +02:00
Ovahlord
55ce5b150f Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example (#29945)
* Updated Amalgam's Seventh Spine dummy aura script to use the new AuraScript hook
2024-04-27 19:04:10 +02:00
Ovahlord
253f306a41 Core/Units: moved Vignette updating into Heartbeat handling 2024-04-27 14:51:56 +02:00
Ovahlord
d60b4e5b19 Core/Auras: implemented PROC_FLAG_HEARTBEAT and moved food/drink emote mechanic into heartbeat handling (#29943)
* also fixed an false assumption that only one of the food emotes can be played. They can in fact be both done at the same time.
2024-04-27 13:43:50 +02:00
ModoX
072e6ff9cc Scripts/AzureVault: Fixed setting done boss state for Telash Greywing 2024-04-27 01:13:08 +02:00
Ovahlord
b5ce4a66df Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940) 2024-04-26 22:32:17 +02:00
Aqua Deus
a361d3f587 Scripts/Spells: Fix Crusader's Might cooldown reduction effect (#29938) 2024-04-26 20:22:19 +02:00
Ovahlord
5a169f6eae Core/Player: moved indoors/outdoors aura interrupting mechanic into heartbeat and movement handling 2024-04-26 14:21:09 +02:00
Ovahlord
c2fedbb6cc Core/Units: moved cyclic spline synchronization mechanic heartbeat handling 2024-04-26 14:21:09 +02:00
Ovahlord
80d72a2c91 Core/Player: moved the periodic group update mechanic into heartbeat handling 2024-04-26 14:21:09 +02:00
Ovahlord
bf9cd88ceb Core/Objects: implement internal heartbeat timer for WorldObjects (#29941)
This is the first step of porting the functionality of #25822 by cutting each change into a nicely self-contained commit

---------

Co-authored-by: Mykhailo Redko <ovitnez@gmail.com>
2024-04-26 01:14:48 +02:00
Meji
1fc5f9c624 DB/WorldStates: Added new worldstates related to currencies 2024-04-25 18:07:56 +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
Shauren
e0e1b6a409 Core/Movement: Enable Catmullrom spline flag by default for flying waypoint paths 2024-04-24 09:46:57 +02:00
Shauren
ad6ef5237d Core/Movement: Fixed spline packed deltas validation check 2024-04-24 00:12:56 +02:00
Shauren
5f31d7cb88 Build fix for clang <= 14 2024-04-23 11:59:45 +02:00
Shauren
3af5cafec7 Core/Movement: Change default spline flags - Steering replaces SmoothGroundPath 2024-04-23 11:11:32 +02:00
Shauren
a02804fa02 Core/Movement: Refactor MoveSplineFlag to get rid of undefined behavior (cast in raw()) and unify enum to string formatting for it 2024-04-23 11:09:59 +02:00
ModoX
1da162d71d Core: Updated to 10.2.6.54358 2024-04-22 23:07:02 +02:00
Shauren
8c0b031c07 Core/Units: Name new spline flag and linked npc flag 2024-04-22 13:19:08 +02:00
Shauren
cfa838df5d Core/Misc: Support boost 1.85 2024-04-22 11:52:58 +02:00
Aqua Deus
f4ef6f769b Scripts/Spells: Add new script for spells with feign death with all flags except uninteractible (#29922) 2024-04-21 14:51:07 +02:00
ModoX
a28facb956 Core/Movement: Fixed data sent in cyclic spline related packets 2024-04-21 12:59:12 +02:00
Shauren
377b51f768 Core/Movement: Switch to uncompressed paths in spline packets automatically when too large or too small delta between points is detected 2024-04-21 00:18:02 +02:00
Shauren
cf1ab7b414 Core/Movement: Implemented alternative method of smoothing waypoint paths (send new point 1.5 before arrival) and make that the default
* Sending whole path at once is still supported with WaypointPathFlags::ExactSplinePath
2024-04-21 00:16:57 +02:00
Meji
6929df0f0b DB/Outland: Update creature static flags 2024-04-20 22:46:41 +02:00
ModoX
8d8a54db25 Core/Spells: Fixed SpellInfo::GetSpellXSpellVisualId for nonplayer casters (#29927) 2024-04-20 19:59:35 +02:00
Shauren
204f65684c Core/Movement: Merge waypoints without delay into a single movement packet 2024-04-20 00:22:34 +02:00
Shauren
cf4c3b5467 Core/Movement: Added functions to MoveSplineInit to enable steering flag 2024-04-20 00:05:24 +02:00
Shauren
e1f43900d1 Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1 2024-04-19 15:16:17 +02:00
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
Meji
c63e0565c4 DB/Gossips: Drop custom gossip 21257 2024-04-15 21:29:54 +02:00
Shauren
0384d90663 Core/Achievements: Fixed achievement SMSG_ACHIEVEMENT_EARNED not being sent to self 2024-04-15 20:09:34 +02:00
Aqua Deus
0f61046960 DB/Wandering Isle: Add playerconditions for weapon racks in initial area
Closes #29911
2024-04-14 21:13:12 +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
ec5111af6a DB/Conditions: Fixed invalid conditions detected by new check from 325cfd047d
Closes #29918
2024-04-13 16:34:06 +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