Commit Graph

36205 Commits

Author SHA1 Message Date
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
Aokromes
243f859c1a DB/Creature: Update few wrong creature_template_locale names
closes #31402
by CraftedRO
2025-10-24 11:55:57 +02:00
Aokromes
674af627ce DB/Creature: Remove wrong creature_template_locale titles
closes #31398
by CraftedRO
2025-10-24 11:50:09 +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
Shauren
d1bbef93ce Fix revision_data.h template after TDB release 2025-10-22 15:05:55 +02:00
TDB Release
95657f5477 TDB 335.25101 - 2025/10/21 TDB335.25101 2025-10-21 18:18:30 +00: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
Freeman256
d2f20e0a74 DB/Misc: Some corrections in ruRU localization
closes #31016
2025-10-20 17:22:53 +02:00
Freeman256
b95e344bac DB/Misc: Some corrections in ruRU localization
closes #30910
2025-10-20 17:19:22 +02:00
Freeman256
da6ffff387 DB/Misc: Some corrections in ruRU localization
closes #30909
2025-10-20 17:14:55 +02:00
Freeman256
c289cdd4ff DB/Misc: Some corrections in ruRU localization
closes #30761
2025-10-20 17:08:30 +02:00
Aokromes
02b9b2e159 DB/Quest: Update "Trial of the Sea Lion" Completion (RewardText)
closes #31382
by CraftedRO
2025-10-20 05:50:56 +02:00
Aokromes
a1c45588ca DB/Creature: Update Reese Langston <Tavernkeeper> Equipment
closes #31385
by CraftedRO
2025-10-20 05:45:57 +02:00
Aokromes
a724d7827d DB/Trainer: Woo Ping <Weapon Master> Should require level 20 to train polearms
closes #31383
by CraftedRO
2025-10-20 05:44:40 +02:00
ze10r
1085643b44 DB/Quest: Fix "The Hunt Begins" "A Task Unfinished" ruRU locales
closes #31233
2025-10-17 12:38:24 +02:00
CraftedRO
dbc8b46cc6 DB/Gameobject: Update Strange Lockbox spawn position and add missing Bubbly Fissure
closes #31372
2025-10-17 12:25:24 +02:00
CraftedRO
270a02d837 DB/String: Update a trinity_string description
closes #31375
2025-10-17 12:22:12 +02:00
offl
5dad31f820 DB/SAI: Get rid of some SMART_EVENT_HAS_AURA events
closes #31380
2025-10-17 12:18:15 +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
39859e7852 DB/SAI: rescript Ancient Drakkari Soothsayer and adjust movement type on event on Ancient Drakkari Warmonger 2025-10-16 20:11:43 +02:00
offl
c92550700b DB/Quest: properly handle gob activation and npcs AI reaction in quest It takes guts.... 2025-10-16 19:26:00 +02:00
ccrs
731b918ac6 Scripts/Azshara: rework quest Chasing the Moonstone related scripts (#31373) 2025-10-15 22:19:54 +02:00
CraftedRO
0915e3bb26 DB/Creature: Update creature_template minlevel/maxlevel values
closes #31366
2025-10-15 11:24:26 +02:00
CraftedRO
9336c8d7bf DB/Gameobject: Update Chest of The Seven spawn position
closes #31370
2025-10-15 11:19:55 +02:00
AlexPro54
63172ec611 DB/Gameobject: Add missing Brewfest gameobjects in DunMorogh
closes #31303
2025-10-15 10:59:55 +02:00
Shauren
133f8693f4 Revert "Core/Entities: Fixed relative position calculation formula in Position::GetPositionOffsetTo"
This reverts commit 4a7fcfe354.
2025-10-14 22:09:40 +02:00
ccrs
30131e820c Revert "Scripts/ICC: adjust random movement initialization on Vile Spirit's summon initialization"
This reverts commit a1940abbc9.

Revert "Core/Movement: implement a parameter override to force 2D wandering"

This reverts commit 8562ef1dfd.
2025-10-14 20:32:09 +02:00
ccrs
48cd3c9142 Scripts/Misc: replace GetThreatListSize with GetThreatListPlayerCount to achieve the desired behavior 2025-10-14 20:04:06 +02:00
ccrs
100790c0e2 Core/Combat: add new getter to count Players in the threatlist 2025-10-14 20:02:01 +02:00
ccrs
9e53591e98 Scripts/ICC: improve Lich King's Valkyr charge and path cosmetics 2025-10-14 17:57:53 +02:00
ccrs
a1940abbc9 Scripts/ICC: adjust random movement initialization on Vile Spirit's summon initialization 2025-10-14 11:55:15 +02:00
ccrs
8562ef1dfd Core/Movement: implement a parameter override to force 2D wandering
MovePositionToFirstCollision implementation can cause Z coordinate modification, making flying units wander up and down unintentionally
2025-10-14 11:52:13 +02:00
ccrs
4a7fcfe354 Core/Entities: Fixed relative position calculation formula in Position::GetPositionOffsetTo
(cherry picked from commit 069449c501)
2025-10-14 11:06:02 +02:00