Commit Graph

68 Commits

Author SHA1 Message Date
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx db05394d99 Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
Port From (https://github.com/TrinityCore/TrinityCore/commit/c541eda54d7e0dddeec329a6beac2948e0b0a40b)
2024-02-29 17:08:30 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 19c484dc5a Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2)
2023-04-21 18:21:08 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx a672fa1bce misc fix 2022-08-04 23:04:39 -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 f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx ae6c864107 Core/Auras: Properly clean up partial charm applications
Port From (https://github.com/TrinityCore/TrinityCore/commit/57d9d16442677201bc7c27729e3f167830b2e495)
2022-05-30 14:15:00 -04:00
hondacrx 2276940252 Core/Combat: Fixed combat after remove charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ed918fcb38d7fd3752899a0eafd7ad62b7217af)
2022-05-30 13:26:37 -04:00
hondacrx 1bb4dac282 Core/Unit: Fixed wrong combat stop when set charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/381c543c60a1394122af6e1130fb1278e98b0fe0)
2022-05-30 13:14:21 -04:00
hondacrx b078285a12 Entities/Unit: Fixed wrong combat stop when remove charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/7de20bcc1cab0c069b67840be5d648fda297d641)
2022-05-30 13:07:57 -04:00
hondacrx 965aeb7425 Updates some enums
Port From (https://github.com/TrinityCore/TrinityCore)
2022-05-29 22:53:33 -04:00
hondacrx 1d2cdb0497 Core/Unit: Add more logs for
Port From (https://github.com/TrinityCore/TrinityCore/commit/98e4bc2d3dda4ab9f5f7cd736bdf5f5e206b2ebb)
2022-05-29 16:04:34 -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 c486b2a846 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
2022-03-10 12:02:05 -05:00
hondacrx f56aee73f0 Core/Pets: Fixed crash happening when summoning a different pet than one that was unsummoned by summoning a guardian (imp -> infernal -> felhunter)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e102022eeb8a0fd402e34de92468b2afb8f1f006)
2022-03-10 09:46:47 -05:00
hondacrx 718302fa18 Core/Pets: Pet management refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca92686b44cc8c53a8991bf02d6e8534797fc115)
2022-03-10 09:39:55 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -05:00
hondacrx 63be1f8dd5 Core/Units: Fixed crash happening when despawning summoned units whose owner is no longer in world
Port From (https://github.com/TrinityCore/TrinityCore/commit/5889ab893e8252ef46ea00527f5e91bf97371182)
2022-02-25 14:19:54 -05:00
hondacrx c9fa7d22fc Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d56d92fbe7436af00e00b00ca5e7640f852d3485)
2022-02-22 13:43:52 -05:00
hondacrx e0340e7c07 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/924182f692bde38d8fed85d5dbe7531a09790501)
2022-01-07 13:20:16 -05:00
hondacrx 5e193139a2 Core/Unit: movement related corrections prior to getting Charmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef6a5d3c3c010f9ad63a71015a533a3894ab38b9)
2021-12-27 17:10:23 -05:00
hondacrx 044359a6b7 Core/Units: Fixed crash with charm/possess
Port From (https://github.com/TrinityCore/TrinityCore/commit/de8e1a4820ec5b3523209f89e7519e27b53060e2)
2021-11-23 21:22:57 -05:00
hondacrx 73aa366f31 UnitAI updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed884354944009979b828d21ee3498e830050af8)
2021-11-23 21:22:07 -05:00
hondacrx 0a8541a39c Core/BattlePets: Implemented battle pet name query packet
Port From (https://github.com/TrinityCore/TrinityCore/commit/8614690e27df8197586cc702760409293f3f6c3d)
2021-11-23 15:07:17 -05:00
hondacrx bc84e62688 Core/AI: Add some checks to catch if the AI changes mid-update for players.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1015f307041b25b47a9bb4bc76ac4ed78c49d735)
2021-11-15 23:22:08 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05: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 9b99019d44 Core/Unit: Inline some unnecessary helpers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/395f58d651c7c370522ead6ba9a3c684d91e3a66)
2021-11-01 11:26:40 -04:00
hondacrx ffb04bffc0 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5989dcee9150565e7f4b8e3f7a62a414a484a3f)
2021-11-01 11:19:47 -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 a5066c8b68 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cfd14d2a0a52ceb0d8203c31c7c6c487775bcee)
2021-10-03 20:27: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 9afc755dec Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
2021-09-26 14:00:30 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 7501866e11 Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a76fc7569ab7338730d680e7b0c703fa6b1003)
2021-08-09 09:24:38 -04:00
hondacrx b039353f1a Core/Entities: unit states cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/70c26d53cb94f0e78a57ecc2279c960370891aa4)
2021-08-08 23:44:54 -04:00
hondacrx 0c527d206c Core/Entities: don't allow client control if player is still affected by any lose of control state
Port From (https://github.com/TrinityCore/TrinityCore/commit/29bfa32fc39de1d93fbdb272d48689174c547725)
2021-06-23 14:13:31 -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 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -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
hondacrx 193ad3a48d Combat/Threat rewrite - prep & refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0)
2020-08-22 11:58:19 -04:00
hondacrx 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx baa9ab6558 Core/PacketIO: Convert all leftover packets to use packet classes
Port From (https://github.com/TrinityCore/TrinityCore/commit/661470c6587c11e3fa94d2e8b57c92d8be2e297b)
2020-07-14 23:00:31 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00