Ovahlord
2aee19fc86
Core/Movement: ported MotionMaster::MoveJumpWithGravity implementation from master branch and cut off post Cataclsym features
2022-02-24 19:37:05 +01:00
Ovahlord
b10f962ba3
Core/Creatures: several cleanups and improvements to spell focusing to reduce edge case issues
2021-10-21 13:18:24 +02:00
Ovahlord
0299fa4fe1
Core/Misc: replace boost::optional with std::optional
2021-02-19 14:07:43 +01:00
Ovahlord
961f82988d
Core/Movement: allow MotionMaster::MovePoint to use velocity arguments and implement speed paramemters for SMART_ACTION_MOVE_OFFSET and SMART_ACTION_MOVE_TO_POS
2020-10-30 18:57:09 +01:00
Ovahlord
f1ef08fc84
Core/Movement: added optional velocity argument for MotionMaster::MoveTakeoff helper to manually specify velocity values
2020-09-29 17:40:31 +02:00
Ovahlord
361ac2292b
Core/Movement: add velocity field to waypoint_data to allow specifying custom speed value for waypoints and cyclic splines
...
* standartized member naming in WaypointNode and WaypointPath struct
2020-09-24 14:30:48 +02:00
Ovahlord
27c1fd6aee
Core/Movement: implement cyclic spline database support
2020-09-21 00:32:55 +02:00
Giacomo Pozzoni
fe30a6ef00
Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear
2020-09-11 21:33:54 +02:00
Ovahlord
9d345f0d87
Core/Creatures: creature groups no longer unnecessarily throw their data on the heap and formations now support inversing angles when waypoint Ids are 0
2020-08-28 23:02:05 +02:00
Ovahlord
2fad073f4c
Core/Movement: added velocity argument to MoveCirclePath helper
2020-08-05 17:07:30 +02:00
Ovahlord
9bd1cb8970
Core/Movement: handle special follow movement case for companions
2020-06-27 16:04:37 +02:00
Ovah
b09d6e2330
Core/Movement: reimplement follow movement ( #124 )
2020-06-26 21:22:21 +02:00
Warpten
5cb747620a
Core/Movement: Fixed Animation Tier handling ( #113 )
2020-06-03 00:49:18 +02:00
Ovahlord
53060a39f5
Core/Movement: implement optional velocity argument to MoveLand motion master helper
2020-06-01 21:48:30 +02:00
Ovah
1b8eec06ec
Core/Movement: various improvements for creature knockbacks
...
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data
* calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all)
# Conflicts:
# src/server/game/Movement/MotionMaster.cpp
2020-04-17 21:21:46 +02:00
Ovahlord
1f93a67e04
Core/Movement: inital work on chase movement rewrite
...
* chase movement will now launch within a sniffed time interval
* the movement will now use a predicting method to get a estimated chase destination to avoid falling behind the chase target
* ChaseRange has been dropped and stepping backward has now a own implementation within the movement generator. Todo: analyzing sniffs for the correct time interval
2020-04-13 17:12:14 +02:00
Ovahlord
c2a676b774
Core/Movement: rewrite formation movement
...
* formation members will now draw their speeds from their formation leader and increase them based on how far they are behind their leader
* added sniffed periodic movement interval which additionally helps keeping up with formation leaders
* the formation movement generator will now persist permanently instead of being a one shot type and handles everything on its own once applied
2020-04-01 01:32:24 +02:00
Ovahlord
c9961e6a94
Core/Movement: rewrite follow movement
2020-03-27 18:59:16 +01:00
Ovahlord
48e13b6fdc
Core/Movement: movements triggered by MoveCyclicPath will now be placed in the idle motion slot instead of the active one
2020-02-09 16:19:04 +01:00
Ovahlord
6be00413a9
Core/Movement: MoveSmoothPath will now automatically flag a ground path as uncompressed when the delta is > 400
2020-01-27 21:30:20 +01:00
Ovahlord
92852a437a
Core/Movement: MoveSmoothPath will no longer enable catmullrom movement when a creature is not flying
2020-01-27 20:02:46 +01:00
Ovahlord
d60fbb842e
Core/Movement: use better checks in GetCurrentSlot to get more reliable slot results
2020-01-10 21:09:13 +01:00
Ovahlord
f6be6a42ad
Core/Movement: fixed logic in selecting current movement generator slot
2020-01-08 17:14:59 +01:00
Aokromes
d6d3f06f06
New year
2020-01-04 18:32:38 +01:00
Ovahlord
9f39c218db
Core/Movement: backported a movemenet slot check to prevent PauseMovement from stopping movements that it's not suposed to stop
2020-01-04 12:17:22 +01:00
Giacomo Pozzoni
ccb00b971b
Fix fleeing speed to 66% run speed
2020-01-03 21:45:40 +01:00
funjoker
6c56916b29
Misc: Update copyright information
...
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord
3c96c02e50
Core/Movement: fixed build
2019-12-30 19:14:01 +01:00
Giacomo Pozzoni
42e0a6f1f7
Core/Movement: Fix stunned falling units freezing the client
2019-12-30 18:50:43 +01:00
jackpoz
e5a240cd7f
Core/Movement: Fix fleeing speed to 66% run speed
2019-12-30 18:49:03 +01:00
Ovahlord
5cd48b2afc
Core/Movement: fixed a typo in MoveTakeoff that was causing flying creatures not lifting off properly
2019-10-06 06:57:18 +02:00
ccrs
94980ab362
Core/Movement: move MoveSplineInit ( #21857 )
...
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.
Core/Movement: use helpers for validation
Core/Movement: crashfix workaround
2019-10-06 04:55:46 +02:00
Ovahlord
e135d35551
Core/Movement: implement cyclic path motion master helper to allow creatures to move along hardcoded spline points that are perfect circles
2019-10-05 06:30:55 +02:00
Ovahlord
f526fc9768
Core/Movement: fixed a crash in MotionMaster that was caused in combination with MovementInform and DoZoneInCombat
2019-08-04 03:24:19 +02:00
Ovahlord
b6cbd70533
Core/Movement: added a velocity argument for MoveSmoothPath motion master
2019-07-06 23:09:13 +02:00
Ovahlord
f351eac0af
Core/Movement: Liftoff and Takeoff will now always use fly and catmullrom movement flags
2019-05-28 20:27:07 +02:00
Shauren
96faf78409
Core/Movement: Use correct root check
2019-05-12 01:26:20 +02:00
Shauren
e610b8440c
Core/Movement: Prevent rooted units from falling
...
* Fixes a client freeze
Closes #23042
2019-05-12 01:26:00 +02:00
Ovahlord
eb15db4522
Core/Movement: first part of porting the new creature hover handling
2019-02-18 01:52:15 +01:00
Ovahlord
50a91bd590
Core/Movement: merged Collision height handling from 335 branch to reduce the probability that creatures are falling under the map
2019-02-17 23:40:24 +01:00
Ovahlord
7edabcbd88
Core/Movement: ported and merged Follow and Chase movement generator rewrite
2019-02-07 23:51:45 +01:00
Ovahlord
bf03f41b15
Core/Movement: MoveCirclePath will now add the owner's original position to the path the EnterCycle spline flag will remove that vertex later on
2018-11-13 02:49:39 +01:00
Ovahlord
2ead9a1d24
Core/Movement: merged FlightPath movement generator splitting
...
* up to e19bb7a1a5e2ee7881cd9637f46e97982d5f7560
2018-08-29 09:31:02 +02:00
Ovahlord
78e0328356
Core/Movement: fixed waypoint movement commits up to 2ce9a0a094a3d86a86a9323693c93ed6a2bbcaaf
2018-08-02 16:20:02 +02:00
Ovahlord
075a79dac1
Core/Movement: first batch of followup commits
2018-08-02 16:03:19 +02:00
Ovahlord
c808b981f7
Core/Movement: merged smooth waypoint movement. Followup commits will be merged soon (tm)
2018-08-02 15:38:35 +02:00
Ovahlord
14cdb1aa1d
Core/Movement: merged FormationMovementGenerator
2018-08-02 13:35:56 +02:00
Ovahlord
0d46b893fc
Core/Objects:
...
*merged 3.3.5 renaming of GetObjectSize() to GetCombatReach()
*made GetBoundaryRadius virtual and use it to determine the actual spell radius distance with it instead of using CombatReach
2018-07-13 14:50:10 +02:00
Ovahlord
0db0f35cae
Revert "Core/Entities: Some changes to LoS z checking & MotionMaster::MoveJumpTo"
...
This reverts commit 157719d4b0 .
2018-03-28 18:45:36 +02:00
Ovahlord
2cfdd3cbe0
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/AI/CoreAI/PetAI.cpp
# src/server/game/Battlegrounds/Battleground.cpp
# src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp
# src/server/game/DungeonFinding/LFGMgr.h
# src/server/game/DungeonFinding/LFGQueue.h
# src/server/game/Entities/Creature/Creature.h
# src/server/game/Entities/Pet/Pet.cpp
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/Player.h
# src/server/game/Entities/Unit/Unit.h
# src/server/game/Globals/ObjectMgr.h
# src/server/game/Groups/Group.cpp
# src/server/game/Groups/Group.h
# src/server/game/Guilds/Guild.cpp
# src/server/game/Guilds/Guild.h
# src/server/game/Handlers/GuildHandler.cpp
# src/server/game/Handlers/LFGHandler.cpp
# src/server/game/Handlers/MiscHandler.cpp
# src/server/game/Handlers/NPCHandler.cpp
# src/server/game/Instances/InstanceScript.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Maps/Map.h
# src/server/game/Maps/ZoneScript.cpp
# src/server/game/Server/WorldSession.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/game/Weather/Weather.cpp
# src/server/game/Weather/WeatherMgr.cpp
# src/server/scripts/Commands/cs_reload.cpp
# src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
# src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
# src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
# src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp
# src/server/scripts/Kalimdor/VortexPinnacle/vortex_pinnacle.h
# src/server/scripts/Spells/spell_dk.cpp
# src/server/scripts/Spells/spell_druid.cpp
# src/server/scripts/Spells/spell_generic.cpp
# src/server/scripts/Spells/spell_hunter.cpp
# src/server/scripts/Spells/spell_mage.cpp
# src/server/scripts/Spells/spell_pet.cpp
# src/server/scripts/Spells/spell_shaman.cpp
# src/server/scripts/Spells/spell_warrior.cpp
2018-03-28 12:35:52 +02:00