Commit Graph

110 Commits

Author SHA1 Message Date
hondacrx f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx 5be3f5acca Core/Units: Fixed knockback angle calculation for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3bc5ebf1627527de638c4e686d5b42ebfd849b3)
2023-09-04 11:41:54 -04:00
hondacrx ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx 53623d94dc Core/Auras: Implement SpellAuraInterruptFlags2::Falling
Port From (https://github.com/TrinityCore/TrinityCore/commit/145bb98ecbc4bb265d5c33cc2bb8358a639d5e98)
2023-05-21 17:22:54 -04:00
hondacrx 1ba4f55eec Core/Units: Calculate HoverHeight from model data
Port From (https://github.com/TrinityCore/TrinityCore/commit/d6133c78de9e2272765c2cfda82c440663acd254)
2023-04-25 17:23:24 -04:00
hondacrx 40898d4b9f Core/Creatures: Allow toggling creature default root state
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb93afffc08a45354e1b896adf38d1f8e8b352ac)
2023-03-14 04:30:36 -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 cd42942a7c Core/Units: Added Unit::SetFacingToPoint function
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdc09d29bc8fcb85d97846027ddf589478e21139)
2023-03-13 03:24:45 -04:00
hondacrx f51dbf95ec Fixes creatures falling under map when chasing a player though water. 2023-02-21 19:18:28 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx cf0045b06a Core/Units: Removed duplicate call to WorldObject::UpdatePositionData
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f4a0e8c522ffdc15ee579461d3bcade2792d683)
2023-01-11 16:45:44 -05:00
hondacrx 7d6b86fb2e Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/dbed48becc30e10b4b17d95f595056d08a987bad)
2023-01-05 17:26:59 -05:00
hondacrx a14038d374 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/6515319b7542930ffe2237c309a3dc3773d70f72)
2023-01-05 17:22:24 -05:00
hondacrx 40db25f49c Core/Phasing: Reduce differences between branches in GridNotifiers
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3f385c48f5080e64b13b0f31864e20e04e531aa)
2023-01-05 02:44:38 -05:00
hondacrx 2dc12dbb69 Core/Spells: Extended mechanic mask to uint64
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00)
2022-12-17 17:37:07 -05:00
hondacrx 7ff79d0eda Core/Creatures: Update creature transport offsets when teleporting while on transport
Port From (https://github.com/TrinityCore/TrinityCore/commit/f205e50f929955e9daafb6d85d8c1f57d9c0dbdc)
2022-10-31 13:57:54 -04:00
hondacrx dacf9b1992 Fixes getting random disconnect. 2022-08-08 18:02:47 -04:00
hondacrx 3cd58e4a17 Core/Maps: Move terrain data handling out of Map class
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a06346aea16ffd6ee84081cedfdb0c75ac0b38)
2022-07-24 16:31:00 -04:00
hondacrx d4f5f39a46 Core/Movement: Fixed a crash 2022-06-23 15:57:23 -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 40444525b2 Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
2022-06-03 16:20:41 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx af29d3158e Misc stuff 2022-05-30 15:09:02 -04:00
hondacrx a89977ad99 Core/Unit: Fix movement hiccups in water
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b242eee130f1ac405187a03cefaf595d857ad99)
2022-05-24 18:20:46 -04:00
hondacrx 85766a168c Core/Movement: fix units falling through the ground when hover mode is disengaged
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac6e242bffe433276d7aea66805a0755996ff904)
2022-05-24 12:48:37 -04:00
hondacrx 1f21e6893f Core/Auras: Implemented SPELL_AURA_DISABLE_INERTIA (506)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d945a118db6d2b423a77c419eb8dd7f4732802a2)
2022-05-10 09:38:14 -04:00
hondacrx 0bbabbd667 Core/PacketIO: Updated packet structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f30afe3528441571f89cb2e1775c756774fa0cd)
2022-05-09 23:14:38 -04:00
hondacrx 655a4f9857 Core/Spells: Implemented using db2 PositionFacing for SPELL_EFFECT_LEAP_BACK
Port From (https://github.com/TrinityCore/TrinityCore/commit/7295bfb6a09b25d824889cfb3698a0774fc01b34)
2022-05-07 15:10:06 -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 c15577587f Core/Unit: send npcs home after fear runs out
Port From (https://github.com/TrinityCore/TrinityCore/commit/6830d883adcec99e288d594fa1bd7cf9577c5b7d)
2022-04-28 09:38:56 -04:00
hondacrx 712dd7b9de Core/Common: Merge TimeTrackerSmall with TimeTracker
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
2022-03-02 14:06:04 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 64b23b9de9 Core/Units: Named unit flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4952db4640ee3ec6a7df8545b5c582202f36405)
2022-02-28 13:16:41 -05:00
hondacrx bc52ff717a Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
Port From (https://github.com/TrinityCore/TrinityCore/commit/294657f7dd4d2db1ca6dcf66f0b0895c6ba92949)
2022-02-22 19:59:03 -05:00
hondacrx 5bd2878a4e Core/Objects: cache current liquid status of objects when updating position data and use it to replace unnecessary vmap lookups
Port From (https://github.com/TrinityCore/TrinityCore/commit/d18d2b84f2c3e6e1005316625da80c99dd414bcc)
2022-02-17 16:55:41 -05:00
hondacrx ddbfe81071 Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ec51bf3b69b2d34607b555f2d52b09f8b73c9e3)
2022-01-07 11:16:51 -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 8c71ecf0b2 Core/Movement: properly fix aura interrupts during movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/43a7091e8a86179e195e2bc021133ce751d48d48)
2022-01-06 10:24:20 -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 b373fc6ced Core/Movement: Fix wrong orientation set when pausing movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/292df30394dc9e15bbdcc6303b35f97bf6a07ae9)
2022-01-05 23:41:39 -05:00
hondacrx 4b255ad8ea Core/Defines: define UNIT_FLAG_SWIMMING
Port From (https://github.com/TrinityCore/TrinityCore/commit/4a47e1c6be02608d8df2ec1b6267a31dcd0c41fa)
2022-01-05 17:18:28 -05:00
hondacrx c4bc8c6362 Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d01a22f58ea19ce9ec71ea7c26adfbdea183fbd2)
2022-01-02 12:40:12 -05:00
hondacrx 86f7a08870 Core/Spells: Fix infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6e73b7b13ddc48f98f46d1af13a95b9cf67cccd)
2022-01-01 17:55:01 -05:00
hondacrx e28b42b270 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d10554da14fb8371072567f673c9f919cbe6b929)
2021-12-23 20:19:55 -05:00
hondacrx 1f58dc2b53 Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/edc75831194bc2419e3abada47121fadf4b2aa8d)
2021-12-23 20:17:08 -05:00
hondacrx fc95164995 Core/Unit: Ignore On Transport spline movements if the Unit isn't on a transport anymore
Port From (https://github.com/TrinityCore/TrinityCore/commit/134fa225108381969b4a7dc22b4a3076a79c21f6)
2021-12-17 19:39:58 -05:00
hondacrx f77b631422 Core/Movement: Defined movement force type enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/e2de5000acba888e2ae3177893f6063340902ffd)
2021-12-10 17:33:33 -05:00
hondacrx 6976fd649d Core/Units: Send PlayHoverAnim state in CreateObject if enabled by Unit::SetPlayHoverAnim
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e779a6f5955de96dc1baa2f48b1bb15ad9bc343)
2021-12-07 14:26:39 -05:00
hondacrx 195fe6316e Core/Units: Only update height in SetHover if unit is bellow HoverHeight
Port From (https://github.com/TrinityCore/TrinityCore/commit/10c915dd34ee94b267b92eef49cd0ecd22d643bf)
2021-11-23 22:46:44 -05:00
hondacrx 8af9676c7b Core/Movement: Temporarily disable "no state change" checks in Unit::SetFeatherFall and Unit::SetCanTurnWhileFalling
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4630c5354ae1c295bc48b085c44ea20dad32f4d)
2021-11-23 14:37:59 -05:00