Commit Graph

42516 Commits

Author SHA1 Message Date
Naddley
62156f57b2 Scripts/ScarletHalls: Implement Armsmaster Harlan encounter (#29944) 2024-05-05 05:30:37 +02:00
Shauren
240b7e58d8 Core/Spells: Refund power cost when cancelling empower spells 2024-05-04 13:06:17 +02:00
Shauren
2aedd8ecdb Dep/fmt: Upgrade to 10.2.1 2024-05-03 19:38:57 +02:00
Meji
22e657eac1 Core/Creatures: Ignore validation of AppearanceModId 0 in equipment (#29916) 2024-05-03 19:11:44 +02:00
Meji
2238844f56 Core/Creatures: Allow profession tools to be used as equipment (#29915) 2024-05-03 15:58:05 +02:00
Ovahlord
24bda9c73d Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior (#29949) 2024-05-02 22:50:20 +02:00
Aqua Deus
b7e94166fa Scripts/Spells: Implement Blessing of the Bronze (#29951) 2024-05-02 20:10:13 +02:00
Shauren
39fc9f8000 Core/Misc: Minor fixes in preparation to support fmt v10 2024-05-02 19:46:18 +02:00
Shauren
241606ada3 Tools: Fixed build with gcc 14 2024-05-02 14:05:07 +02:00
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