Commit Graph

101 Commits

Author SHA1 Message Date
hondacrx ba26dd0a68 Movement/TaxiPath: Properly clean up list of taxi destinations upon arrival at final node.
Port From (https://github.com/TrinityCore/TrinityCore/commit/390001fa624ef996d2ae5331e201f9e2d640211b)
2021-11-03 16:21:01 -04:00
hondacrx 78a466e5b6 Core/Unit: Some charm fixes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/34f9666f209ab3f281bf81de92c4bc1a164b0059)
2021-11-02 14:14:58 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 5675589bd2 Core/Movement: Prevent NO_PATH evades from incorrectly happening in a few places.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f0e58cce0088dd030d5bf85ae03e9d942241800)
2021-10-30 20:01:28 -04:00
hondacrx a4f115366b Core/Movement: Properly resume chase/follow movement if it was paused by a spell cast.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d2423b7334915c60225103863c3ffae3831719b)
2021-10-17 09:25:04 -04:00
hondacrx b759f6204f Fixes npc not chasing, Also fixes auras not being applied. 2021-10-13 18:12:24 -04:00
hondacrx 7ef98b794d Fixes a server freeze 2021-10-01 18:08:16 -04:00
hondacrx 3e040d6688 Core/Movement: shield ChaseMovementGenerator against a potential crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d9e544c2072b6fba2bf978066edbd3f5c519034)
2021-09-29 19:25:46 -04:00
hondacrx 8d052d7d51 Core/Movement: adjust deactivation/reset logic inside GenericMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/4487933bd078c2d0087610de967f69f46cf4da60)
2021-09-29 19:23:47 -04:00
hondacrx 5ace2d2c55 Core/Movement: prevent double initialization calls if the generator was deactivated before being initialized
Port From (https://github.com/TrinityCore/TrinityCore/commit/30583be0252ff02f190e74d6f5a69da3e5ea7bb5)
2021-09-29 18:35:14 -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 62afe3bf8e re-enable CreatureAI::MovementInform for Chase/FollowMovementGenerator - didn't realize any AI used this
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f0f530c0859982bc2c0c230d928aa3fc8d86d23)
2021-09-26 17:27:33 -04:00
hondacrx d721ac0992 Core/Movement: Removed unneccessary z position adjustment
Port From (https://github.com/TrinityCore/TrinityCore/commit/58043c8d90f00241c80b58324e84c4361825f345)
2021-09-26 14:24:05 -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 7befdbd11b Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match what the client does regarding being inside WMOs
Port From (https://github.com/TrinityCore/TrinityCore/commit/453b59de57b3502163adc99a6fc9cbeec0645dcf)
2021-09-26 11:32:01 -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 dbfef1ee87 Core/Auras: Don't save liquid auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bea816bbec6ba9d50f7bd6725806e81c6cafaae)
2021-09-24 10:16:38 -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
hondacrx 4a61a40fb8 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc89e1cdb0da10e53cc9fa4a97565c05bb4c052e)
2021-09-23 22:46:22 -04:00
hondacrx d771b5c9f6 Core/Movement: Fixed chase distance calculation for hovering units
Port From (https://github.com/TrinityCore/TrinityCore/commit/33bf5d385451e12917c4e48f29b14554553c91df)
2021-09-21 18:57:34 -04:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 89058fec83 Core/Movement: Fixed creature hover
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2b29861878fda2d27156c71a1d8ed7dbe0b4fe)
2021-08-24 11:10:59 -04:00
hondacrx fbf1a05485 Core/Movement: Correct distance checking
Port From (https://github.com/TrinityCore/TrinityCore/commit/30cfe3741ab937057f87043a4ed089258d836323)
2021-08-09 11:39:19 -04:00
hondacrx dac2b45ab8 Partial: Core/Entities: Reduce the probability of units dropping under the map
Port From (https://github.com/TrinityCore/TrinityCore/commit/69edf282fa777912385dbb4d921b9f3a8f92a00e)
2021-08-08 23:16:19 -04:00
hondacrx 9af3e3adf2 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/cecb91ad3d77d622a3b36d36e06a9220b2c44204)
2021-06-23 22:31:04 -04:00
hondacrx dcf8c12e5c Core/Movement: WaypointMovementGenerator cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d79b329acd7ad1d81f1f508726f5fad78b70b0e)
2021-06-23 18:02:44 -04:00
hondacrx 88c9b21ec2 Fixes Fleeing, and probably so other movement stuff. 2021-06-18 15:13:04 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 90508f7689 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ecfe58cae6d9cfa7a3aef21a4a96aa00c513ba2)
2021-06-02 22:09:53 -04:00
hondacrx c51e7b3223 Core/Movement: Correct the allowed distance to target before a repositioning is necessary.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ce1e9d6522974e3186e8b5cf75b7c653a075862)
2021-05-18 13:13:12 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx 5b0391b1d9 Core/AI: UnitAI trimming part two. WaypointX methods kicked upstairs to CreatureAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0afca513a9bfbd82134942e1266e46811707cbb)
2021-04-28 10:58:26 -04:00
hondacrx 17132dd6b6 Core/Entities: Fix some weird movement due to los issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/446fc391f02d3ca8e1332b58f910a5b7d1c8e226)
2021-04-16 16:14:43 -04:00
hondacrx 4ce89c9508 Core/Movement: Add MovePoint with facing
Port From (https://github.com/TrinityCore/TrinityCore/commit/c6d6ece1c7a450145598d5ac3c83b399cc731ee9)
2021-04-16 15:24:08 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx f2317c2bdf Core/Entities: Some changes to LoS z checking & MotionMaster.MoveJumpTo
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe362cf2c9d5c71db4698480ce26cb35dbc58f28)
2021-03-17 13:55:29 -04:00
hondacrx 96b98cc4d3 Misc cleanups 2021-03-04 12:07:37 -05:00
hondacrx 220914beca Core/Movement: some corrections on WaypointMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/88c3a184cc9cfd7457f5c4e5f743161c763cddf7)
2021-02-18 12:34:38 -05:00
hondacrx 0e77439e20 Core/Misc: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf12bae46746149d870cd3e52ccd610f0a975047)
2021-02-04 10:32:48 -05:00
hondacrx 4fb259abfa Core/Logs: Fix more logs
Port From (https://github.com/TrinityCore/TrinityCore/commit/93552510abf2fe0db0557036143b124c4a12cbe5)
2021-01-26 16:38:23 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx 87160961fa Core/PacketIO: Fill new packet fields with data
Port From (https://github.com/TrinityCore/TrinityCore/commit/83eecaf2c40cc72c1dc42335766534eb8d227e60)
2020-12-10 10:22:13 -05:00
hondacrx c46c7ba2dc Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
2020-12-09 14:01:38 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx 2820d45a0d Misc fixes 2020-09-03 11:25:42 -04:00
hondacrx 8b6c86d568 Core/Creature: regenerate health
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
2020-08-24 19:19:13 -04:00
hondacrx 3d3fd0f55f Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
2020-08-24 17:02:02 -04:00