Commit Graph

81 Commits

Author SHA1 Message Date
hondacrx 5e5e17e23c Core/Spells: Fixed effects targeting the caster not hitting him immediately on spell launch if the spell targets a dest
Port From (https://github.com/TrinityCore/TrinityCore/commit/295c8f63269d966812f37a8bd8e988a9f2dc1235)
2023-05-02 15:40:21 -04:00
hondacrx 4b4b49dacf Core/Movement: Allow passing tier transition id (db2 id) to land/takeoff movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/8bf3bc071ba0de9405f9e573541251d5fcd63cf3)
2023-04-05 08:13:02 -04:00
hondacrx bc12537c67 Core/Movement: Refactor TimedFleeingMovementGenerator to use TimeSpan
Port From (https://github.com/TrinityCore/TrinityCore/commit/4300c3edd3b2fe4c0f5a01807271e663b6750ebb)
2023-03-14 02:12:21 -04:00
hondacrx aeaf5da3a2 Core/Movement: New waypoint movement features
Port From (https://github.com/TrinityCore/TrinityCore/commit/cf2e0e2faad78617012e8259352d08e7a62e6026)
2023-03-14 01:51:43 -04:00
hondacrx 351e05104d Core/Movement: Refactor jump speed calculation out of spell code
Port From (https://github.com/TrinityCore/TrinityCore/commit/705d5701bf17f1787d2646c55c994b0404659991)
2023-03-13 03:29:40 -04:00
hondacrx 888ed91c82 Core/Movement: Allow specifying timeout for follow movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/39b76cfbc2022b9ba21786d235927fa3bbdf04eb)
2023-03-13 03:20:01 -04:00
hondacrx 62c3c90017 Core/Movement: Extend MovePoint with new arguments
Port From (https://github.com/TrinityCore/TrinityCore/commit/0026706e8333c79f8baae341b94e65e1eac484ca)
2023-03-13 03:15:43 -04:00
hondacrx 3db8d740f9 Core/Movement: Allow specifying timeout for random movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/66b29fba44be39609fb79f2b35d82078b6656f91)
2023-03-13 03:00:03 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 695f212be6 Core/Units: Removed spline speed limit for MoveJumpWithGravity
Port From (https://github.com/TrinityCore/TrinityCore/commit/96295cfc5fdd6790313eda694da99ee661f3c0f0)
2022-07-25 22:13:03 -04:00
hondacrx 8cfd263fea Start adding missing scripts Part2 2022-07-05 15:39:49 -04:00
hondacrx f91230ae33 Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
Port From (https://github.com/TrinityCore/TrinityCore/commit/36dde87249e87c5693162a6e890875d828f93d6d)
2022-06-15 15:48:07 -04:00
hondacrx 2703633af8 Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH
Port From (https://github.com/TrinityCore/TrinityCore/commit/8111f50d035c1915165cb8ecd4938ba97820ed10)
2022-05-26 20:23:19 -04:00
hondacrx 558e976a5e Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e0deaefd4e84c8069f6249778774f605fc5e628)
2022-05-26 20:08:35 -04:00
hondacrx b29c191d99 Core/Movement: add optional velocity argument for MoveLand and MoveTakeoff
Port From (https://github.com/TrinityCore/TrinityCore/commit/eeac4a12f244e7f730f772b4093cc5089dfc6a0c)
2022-05-24 12:47:46 -04:00
hondacrx 42046011e7 Core/Movement: Corrected Animation Tier handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee620856ad2918ae7ce91a37a980d9f2129a074a)
2022-05-03 13:29:52 -04:00
hondacrx 118afde68c Core/MotionMaster: Do not generate path to MoveLand
Port From (https://github.com/TrinityCore/TrinityCore/commit/91f61638585330a5cd80cff0c6b09de47b9b9987)
2022-04-28 10:45:15 -04:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 44b045d5be Core/Movement: various improvements for creature knockbacks
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3d28efcfa329a1330b8687e9bdde8759bbe0bdc)
2022-02-18 13:10:52 -05:00
hondacrx 266284247c Core/Movement: Formation Rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/924116f0461f5e1e03a026129b81dfe23faa20e4)
2022-02-17 16:18:54 -05:00
hondacrx 6c0e21b4de Misc updates/fixes 2022-01-27 12:36:56 -05:00
hondacrx fcf47da853 Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear
Port From (https://github.com/TrinityCore/TrinityCore/commit/934c320d4b0da40691be7449f860447fe79b4083)
2022-01-07 12:44:09 -05:00
hondacrx d47f9f0171 Core/Movement: Implement MoveSplineFlag::Enter_Cycle
Port From (https://github.com/TrinityCore/TrinityCore/commit/61f3d51143b51b04169bd1c2ff0393d2b9be7c33)
2022-01-07 10:44:03 -05:00
hondacrx c6186f17bd Core/Creature: Use proper name for wander distance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/72093e98e1bdbd3b83d8030d1cb50306bb04b028)
2022-01-07 09:33:54 -05:00
hondacrx 654c9743e3 Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d095d4afe95125bba64312025528a2c4aab157e0)
2022-01-05 23:51:18 -05:00
hondacrx 43d3298724 Core/Movement: Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/2327ff4d6dab16cedb5e82c50f1cdcce8983abde)
2022-01-05 23:24:23 -05:00
hondacrx 20a31a52c2 Core/Movement: Fix stunned falling units freezing the client
Port From (https://github.com/TrinityCore/TrinityCore/commit/b40cadd5a12445c1265db8d81b2a0c5e73fe6757)
2022-01-05 23:23:07 -05:00
hondacrx efb7142aef Core/Movement: delay movement update in MotionMaster until its owner signals AddToWorld
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfb2221552048512b4fda0c7e0c97ecf808106f9)
2022-01-05 17:26:33 -05:00
hondacrx 3f1d1fb205 Core/Movement: add missing parenthesis on MotionMaster::Size
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ae0a6ba22b55c0d6ae78300f5788c68f6505971)
2021-12-27 16:51:17 -05:00
hondacrx eef0e8e875 Misc fixes 2021-12-07 20:57:02 -05:00
hondacrx 6d332243c4 Core/Movement: implement MotionMasterDelayedAction validator
Port From (https://github.com/TrinityCore/TrinityCore/commit/36a1d00444b35d6f8fbfaabebf835f4ad9c01108)
2021-12-07 18:32:20 -05:00
hondacrx fd2db909b4 Core/Movement: Use correct root check
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc4b516844e4457b8efce20a521ea3d36dcc42d6)
2021-12-07 17:32:36 -05:00
hondacrx 11372c15e9 Core/Movement: implement and use new remove method in MotionMaster
Port From (https://github.com/TrinityCore/TrinityCore/commit/72301bf02f4b8d9569139e7bfcc23df9a46f2479)
2021-12-01 11:35:31 -05:00
hondacrx 5c48c512b5 Core/Spells: Implemented spell effect 254 (SPELL_EFFECT_JUMP_CHARGE)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a809932f5017c98092a02694e86e276add03f8b9)
2021-12-01 10:58:28 -05:00
hondacrx 2208a7be60 Core/Movement: Implement initializing parabolic splines using jump gravity instead of max parabolic height
Port From (https://github.com/TrinityCore/TrinityCore/commit/684cd9d9681466019dcd06ad6f994890cff8cb2e)
2021-12-01 10:34:19 -05:00
hondacrx 9cdccb9a08 Core/Movement: Allow using walk when chasing v2
Port From (https://github.com/TrinityCore/TrinityCore/commit/956158d299b3264f883f49ac647154179182fbea)
2021-11-29 13:29:51 -05:00
hondacrx 7d6f782dd1 Allow walk when chasing
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3f75852c284e730756a7f007b96bbae0ac3c158)
2021-11-23 22:57:55 -05:00
hondacrx ee8228582b Core/Movement: Add some extra assertions to MotionMaster.
Port From (https://github.com/TrinityCore/TrinityCore/commit/792914fb518349ef270e6f769f343bbcd333b942)
2021-11-15 22:12:20 -05:00
hondacrx efb40cecf9 Core/Movement: Fixed MotionMaster::MoveChase default parameters
Port From (https://github.com/TrinityCore/TrinityCore/commit/f5c6ad9621fdad85d8de44eb3ec8ee07f957bc13)
2021-11-15 20:49:38 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 032f9a55f3 Cleanup some warnings. 2021-11-15 16:11:20 -05:00
hondacrx 80d6b08c13 Core/Movement: Corrected values sent in knockback packet when speedXY < 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/732a8ee26199d7f04c692fa64f96955db13cf69d)
2021-11-08 10:44:57 -05:00
hondacrx 7ef98b794d Fixes a server freeze 2021-10-01 18:08:16 -04:00
hondacrx a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00
hondacrx cf79d69487 Core/Movement: use helpers for validation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b6049fe0bf49a8c21114960cb7a6522f48c8308)
2021-09-26 13:49:13 -04:00
hondacrx 53ad19d2f9 Core/Movement: move MoveSplineInit
Port From (https://github.com/TrinityCore/TrinityCore/commit/d59a6af9c694713fd868db4bae09df3f8b9e041e)
2021-09-26 13:45:04 -04:00
hondacrx 569e20ebc1 Core/Misc: movement cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/4793b073eec2af32622ff703911721100730e868)
2021-09-26 12:17:10 -04:00
hondacrx 9d5cf1d4ae Core/Movement: Fix a potential crash on newly created pets.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d9d6fbcb80eaab72acbe6ef09b9b1c29f2439c7)
2021-09-26 10:31:46 -04:00
hondacrx ad1975b277 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
Port From (https://github.com/TrinityCore/TrinityCore/commit/14939204955d1a24fe465cdfcbf307daf3ce4f09)
2021-09-26 10:29:27 -04:00
hondacrx 3356b921ab Core/Object: Bump hover delta handling on nearpoints downstack into GetNearPoint2D (from movement generators); functionality should be unchanged
Port From (https://github.com/TrinityCore/TrinityCore/commit/f69d12504ca3089439fa6d33b7c6e73e1585779f)
2021-09-24 10:05:14 -04:00