Commit Graph

24255 Commits

Author SHA1 Message Date
Shauren
432d17483e Core/PacketIO: Adjust pvp title source used in SMSG_PVP_CREDIT to take highest lifetime pvp rank instead of current chosen title 2025-11-28 22:34:45 +01:00
Intel
3a8f35e2d2 Core/DataStores: Removed AreaPOI.dbc (wasn't used in core at all?)
(cherry picked from commit 3fe1ad51ba)
2025-11-28 11:51:13 +01:00
𝐍𝐆𝐏𝐎𝐍𝐆
cab8975c27 Core/Movement: Use AdjustClientMovementTime to remove redundant movement time calculations (#31492) 2025-11-23 19:56:09 +01:00
Shauren
2221ad3105 Scripts/Eversong Woords: Fix path id selection after 91dcae540e
Closes #31474
2025-11-18 15:58:43 +01:00
Shauren
4997e316d9 Core/Spells: Expose number of targets selected for each spell effect to scripts to allow implementing spells that do something depending on number of targets hit
(cherry picked from commit 1a7779a6e6)
2025-11-17 18:22:43 +01:00
ModoX
91dcae540e Core/SAI: Drop waypoints table and move existing rows to waypoint_data table (#28834)
(cherry picked from commit 356c98579b)
2025-11-15 22:27:11 +01:00
Shauren
ec6d370859 Core/Addons: Fix sending banned addons to only contain new entries 2025-11-12 13:56:56 +01:00
Shauren
8d407deb27 Core/Misc: Fix GitRevision::GetHostOSVersion compilation on arch linux, TRINITY_BUILD_HOST_DISTRO_VERSION_ID is not defined there
(cherry picked from commit 652d490b06)
2025-11-11 21:43:47 +01:00
kik0
2a0e9633b6 Core/Vehicles: Prevent players from eating and drinking while on vehicles (#31367)
Don't drink and drive
2025-11-11 19:58:00 +01:00
Shauren
70f1278c96 Core/Movement: Reduce differences between branches (move movement timestamp adjustment into separate function) 2025-11-11 10:00:55 +01:00
offl
0f8a33ca4c Scripts/Utgarde Keep: Rewrite scripts (#31349)
Closes #26822
2025-11-09 15:29:36 +01:00
offl
475808d626 Scripts/World: Rewrite Cairne (#31338) 2025-11-08 23:53:55 +01:00
offl
5a2cfd095c Scripts/Scholomance: Update scripts (#31333) 2025-11-08 21:05:10 +01:00
offl
806a44526d Scripts/Sunwell Plateau: Rewrite M'uru (#31323) 2025-11-08 16:20:20 +01:00
offl
d1a2f20b56 Scripts/Spells: Migrate some spell linked spells to spell scripts (#31279) 2025-11-04 22:37:06 +01:00
offl
899ac9e04e Scripts/Sunwell Plateau: Rewrite Eredar Twins (#31305)
Credit for several things goes to CMaNGOS
2025-11-03 19:31:38 +01:00
Shauren
f77768faad Core/Creatures: Fix battleground spirit guides on ffa pvp realms
Closes #31438
2025-11-03 12:01:37 +01:00
Shauren
047e08ad71 Core/Creatures: Don't force battleground spirit guides to be dead (and immediately respawned) 2025-11-02 23:43:13 +01:00
Shauren
8d49be5e1c Core/Units: Correct Z coord change when enabling hover above ground 2025-10-26 15:42:35 +01:00
Shauren
36cb2d4a78 Revert "Build: remove unused variable"
This reverts commit 0af0e80b63.
2025-10-26 12:27:20 +01:00
Shauren
4b86057cf8 Core/Units: Fix movement status altering packets being sent to wrong units
(cherry picked from commit 6fd28bda97)
2025-10-26 11:41:36 +01:00
Shauren
524e0416ff Revert "Scripts/EasternKingdoms: temporally adjust Eye of Acherus to allow quest completion"
This reverts commit f92e7416a5.
2025-10-26 11:16:06 +01:00
Shauren
436b4db38f Core/Creatures: Fix floating corpses
(cherry picked from commit d5ac1c8741)
2025-10-26 11:51:32 +01:00
Shauren
cc908c7eff Core/Units: Port movement status altering functions from master branch 2025-10-26 11:00:25 +01:00
Shauren
858f8c12d7 Revert "Core/Movement: implement MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION in MotionMaster + allow public flag access"
This reverts commit 825c88e85a.
2025-10-26 09:56:37 +01:00
Shauren
7c006ed265 Revert "Core/Entities: implement IsInAir"
This reverts commit 4c27329bed.
2025-10-26 09:56:22 +01:00
Shauren
ea6bb10d12 Revert "Core/Entities: improve unit on death movement"
This reverts commit f4d8105064.
2025-10-26 09:55:59 +01:00
Shauren
154f960655 Revert "Core/Entities: followup f4d8105064afdf98212320b5bd1569f2af3fa68a"
This reverts commit 6afc4dac61.
2025-10-26 09:55:49 +01:00
Shauren
dfd27d4795 Revert "Core/Entities: bring back the root/stun check on unit death - for now"
This reverts commit c5e2a9485f.
2025-10-26 09:55:37 +01:00
Shauren
288be73af1 Revert "Core/Entities: handle more edge cases in IsInAir"
This reverts commit 00ddc35568.
2025-10-26 09:55:15 +01:00
Shauren
dc8c29cefe Revert "Core/Entities: move IsInAir tolerances to a default parameter, and reduce it to 0.1"
This reverts commit c3d3fb1eb3.
2025-10-26 09:55:02 +01:00
ccrs
c3d3fb1eb3 Core/Entities: move IsInAir tolerances to a default parameter, and reduce it to 0.1 2025-10-25 23:45:16 +02:00
ccrs
00ddc35568 Core/Entities: handle more edge cases in IsInAir
can be done in one liner, with one math expression if I'm not mistaken, but this allows easier debugging
2025-10-25 23:26:43 +02:00
ccrs
c5e2a9485f Core/Entities: bring back the root/stun check on unit death - for now 2025-10-25 17:24:34 +02:00
ccrs
6afc4dac61 Core/Entities: followup f4d8105064
Pretty sure that stunned/rooted creatures do fall also on death
Remove useless casting
2025-10-25 17:13:35 +02:00
ccrs
f4d8105064 Core/Entities: improve unit on death movement
Handle MoveFall spline manually instead on MotionMaster -> prepares and sends movespline just before Set methods -> they "detect" the fall spline and send the necessary DISABLE related packets
Signal MotionMaster to not reset-initialize static idle movement with the new MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION
Prevent spline from generating a path, we want a straight line towards the floor
2025-10-25 17:09:37 +02:00
ccrs
736add6267 Core/Creature: cleanup movementflags initialization on creature create, a bit
- InitializeMovementFlags after creature addon loading (auras, etc)
- Remove redundant m_positionZ alteration (relocation is already handled in Unit::SetHover)
- Remove additional AddUnitMovementFlag (already handled in InitializeMovementFlags if necessary)
2025-10-25 16:59:32 +02:00
ccrs
4c27329bed Core/Entities: implement IsInAir 2025-10-25 16:52:09 +02:00
ccrs
aa8c287b67 Core/Movement: remove unnecessary UpdateAllowedPositionZ in FollowMovementGenerator
Already called in GetNearPoint
2025-10-25 16:20:16 +02:00
ccrs
825c88e85a Core/Movement: implement MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION in MotionMaster + allow public flag access 2025-10-25 16:17:49 +02:00
ccrs
0af0e80b63 Build: remove unused variable
fatal error: lambda capture 'me' is not used [-Wunused-lambda-capture]
2025-10-22 15:21:17 +02:00
ccrs
f92e7416a5 Scripts/EasternKingdoms: temporally adjust Eye of Acherus to allow quest completion
hackery all over the place till major core impl is done
updates #30532
2025-10-22 15:14:12 +02:00
ccrs
428fb0197b Core/Spells: followup 8aa237fbfe 2025-10-22 15:14:12 +02:00
ccrs
05afc3aa89 Core/Movement: allow to manually set up SWIM flag on init splines 2025-10-22 15:14:12 +02:00
ccrs
8aa237fbfe Core/Spell: dont force MoveFall on flight auras if the unit can still fly
If either DISABLE_GRAVITY is enabled, or CanFly (movement_template creatures/CAN_FLY players) is still present from other sources (other auras).
2025-10-21 19:56:28 +02:00
ccrs
c1d36d37c9 Scripts/Gundrak: followup bc68d013da 2025-10-16 21:47:06 +02:00
ccrs
b49f998d1e Build: fix gcc build by removing useless validations
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
2025-10-16 21:22:10 +02:00
ccrs
12d3e077c3 Core/SAI: implement SMART_ACTION_RESUME_MOVEMENT
param0 MovementSlot (default = 0, active = 1, controlled = 2)
param1 ResumeTime (ms)
2025-10-16 20:43:11 +02:00
ccrs
328f82da78 Core/SAI: allow indefinite movement pause timers in SmartScripts
This allows pausing random movement generator permanently, for example, instead of using a big number to simulate it.
2025-10-16 20:15:43 +02:00
ccrs
731b918ac6 Scripts/Azshara: rework quest Chasing the Moonstone related scripts (#31373) 2025-10-15 22:19:54 +02:00