hondacrx
1e421b9f53
Misc fixes
2024-03-19 17:21:32 -04:00
hondacrx
4b9b81c7e2
Core/Objects: Implemented vignettes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca )
2024-03-13 21:09:46 -04:00
hondacrx
ccf73e23e3
Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/45ee989c70682c001d4467d97bf1ecedcf7dbcc3 )
2024-03-12 23:04:13 -04:00
hondacrx
3a976b2353
Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2ce5072d62e2835c4426220ebf8ade5fa67a79b )
2024-03-04 11:50:36 -05: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
f550c49faf
Core/Movement: Fixed MoveRotate not updating orientation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/288966e796bfa4309fdcb08b9392b61befc3faab )
2024-02-28 18:08:50 -05:00
hondacrx
d18e3b4b82
Core/Units: Update facing spline movement immediately after launching
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c15fb00e5b7cf39cd6dc97c302418710bc21212 )
2024-02-27 13:38:28 -05:00
hondacrx
9d1589afd4
Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a748fddfa47216e1f516303e3bca9b5a86823748 )
2024-02-24 15:18:07 -05:00
hondacrx
7c812ae904
Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78 )
2024-02-06 17:21:07 -05:00
hondacrx
437fe2d8fd
Core/Creatures: Moved autoattack handling from scripts to game
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3 )
2024-02-05 18:18:30 -05:00
hondacrx
3ac50cb7f4
Core/Maps: implement LIQUID_MAP_OCEAN_FLOOR to identify units that are on the bottom of a liquid
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/97af0c31af13de23eabe4eb22ed3e71dd5602531 )
2024-02-05 13:45:29 -05:00
hondacrx
99c931652d
Core/Units: Update PlayHoverAnim state when flying or hovering
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1b36eec5678090654dfd65a3fef29ea8ada6ef2 )
2024-02-03 13:15:36 -05:00
hondacrx
80f4ece2e5
Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/64a14f13ace1f6c7ac2aedc90ad2b48f57a3920c )
2024-02-02 09:42:46 -05:00
hondacrx
c56e1752f5
More Scripts done.
2023-10-16 12:35:26 -04:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
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