Commit Graph

127 Commits

Author SHA1 Message Date
hondacrx 8126e7c6e1 Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT
Port From (https://github.com/TrinityCore/TrinityCore/commit/db825c3221de16cdb757711781318d76b414213f)
2022-02-18 13:35:32 -05:00
hondacrx a604bbd7f9 Core/Gameobjects: Improve stealth detection
Port From (https://github.com/TrinityCore/TrinityCore/commit/60e66621dae44cb832ebb0bdb5e168f9ab114ecb)
2022-02-18 12:51:16 -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 11e97aa548 Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88cf53e54a4cda8fa8f1e3ef8b0766b5e6ac8c27)
2022-02-17 09:32:03 -05:00
hondacrx 8d7ba1061c Core/Spells: Implemented target 137 TARGET_DEST_CASTER_MOVEMENT_DIRECTION
Port From (https://github.com/TrinityCore/TrinityCore/commit/f515424217b6470b73269c7671a3086ff19c2359)
2022-02-16 13:05:11 -05:00
hondacrx cb7438506f Scripts/Spells: Implemented various rogue spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3d06f2f329a6d21b9a79aed8b39f1d56fa933e6)
2022-01-07 16:42:42 -05:00
hondacrx 038a06e166 Core/PacketIO: Fixed SMSG_UPDATE_OBJECT packets going missing for new items
Port From (https://github.com/TrinityCore/TrinityCore/commit/48bd9698f88ade01209c9287ff38005900630ed3)
2022-01-07 12:52:45 -05:00
hondacrx 66e49cd043 Core/Objects: MovePositonToFirstCollision will now use detour raycasts to determine terrain obstacles
Port From (https://github.com/TrinityCore/TrinityCore/commit/6770987d6f1fe408c78f015ff5bed7f4f5b1715d)
2022-01-07 11:25:21 -05:00
hondacrx bf78002ab3 Core/Log: Gameobjects may have faction template id = 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/89edc84c23f867855ee119c7a9eb5dbf31692cf8)
2022-01-05 17:56:50 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 7f053ea099 Core/Movement: Fix LoS issue of NPCs chasing targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/f012d4b7fcf0376de75f09c2b59509247fd133cb)
2022-01-04 20:09:33 -05:00
hondacrx 9b2d1e67b6 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5e58cef694d3db65f0a27b93099ae4e517685a4)
2021-12-27 17:39:42 -05:00
hondacrx 31e0a1f476 Core/Spells: Moved SpellVisual functions from Unit to WorldObject
Port From (https://github.com/TrinityCore/TrinityCore/commit/54f607641ac9008a588b8ff635a9ed7ee7a5f976)
2021-12-24 20:50:24 -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 c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx 7c223b9a47 Core/Spells: Return CheckCast result from CastSpell
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab988dc98284285b8ed0253f0bca1ddeb7eb9982)
2021-12-07 17:31:24 -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 7f5dfd0025 Core/Maps: Fix crash caused by setActive(false) called after DespawnOrUnsummon()
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd825c56148ed9530e4a314bc91f29ddc86b7122)
2021-12-01 22:59:01 -05:00
hondacrx b4febb11c8 Core/Object: Range check, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b717603a9b3a676e800fc401f4544735287791a9)
2021-12-01 22:57:42 -05:00
hondacrx 334720dafe Core/Movement: Fix some undermap issues with random movement/fear/blink
Port From (https://github.com/TrinityCore/TrinityCore/commit/4fcc4a330044e84baa1f58ff13e1b4ea7775eb66)
2021-11-29 17:46:46 -05:00
hondacrx 356bbb8823 Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5daa2ad49a5a5d23ec4fae7508998ff9b1b6ad1)
2021-11-29 17:27:43 -05:00
hondacrx b509aac0cd Core/Spells: Fixed spells using MovePositionToFirstCollision for selecting target position getting Z coord offset by caster or target collision height (depending on spell target type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a413ae5431fb078e14fe91196246bb67d9cbb30)
2021-11-23 22:45:57 -05:00
hondacrx b5d1877d0e Core/Spells: Fixed crash with some gameobject spell casters
Port From (https://github.com/TrinityCore/TrinityCore/commit/f24e16a460e81e8bf6efe26498a31f5cfc559d78)
2021-11-18 20:19:10 -05:00
hondacrx 527f117701 Core/Objects: properly use UPDATETYPE_CREATE_OBJECT2 when creating brand new objects in all cases.
Port From (https://github.com/TrinityCore/TrinityCore/commit/234a680d3a04142d0f99dfc316b6442d8a51bad1)
2021-11-15 23:24:39 -05:00
hondacrx c48696da32 Core/Player: Clean up duel related code. Fix a check for abusive client behavior, code style.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c062db94b1c2d28329c5f0ddc2fee74a6c07c35)
2021-11-15 19:56:36 -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 8563fa8952 Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c8a058120dcf2c3ff8592886cb842ca889e0411)
2021-11-07 20:27:03 -05:00
hondacrx 4d14f2f992 Core/Spells: Clean up some assist checks (no behavior change)
Port From (https://github.com/TrinityCore/TrinityCore/commit/8760b7322e2d6417956fe5ddf08bb7b1268c734e)
2021-11-02 14:19:45 -04:00
hondacrx 6a159b90a1 Core/Spells: Fix an incorrect check that was exempting negative spells from _IMMUNE_TO_x checks.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d81a74bc98533d6c443b59a945b7e92cc7e87295)
2021-11-02 14:17:30 -04:00
hondacrx e9c6424cd8 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/11cc5c0d3bd46b5e68bb549625ef9ca7294deb21)
2021-10-16 18:12:25 -04:00
hondacrx d2bcc321f5 Core/Scenes: Implemented spell created SceneObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7302ffd1499433fef2cc4e824ae9443c3d2c79f)
2021-10-11 17:21:33 -04:00
hondacrx 5de61110b3 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2
Port From (https://github.com/TrinityCore/TrinityCore/commit/de326d789ed955de819e0cbf37676716a038ad10)
2021-10-08 10:36:08 -04:00
hondacrx cf248ca95a Core/Scenes: Delay scenes sent when not in world until adding to map
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d93f0a5f79c5465341a850279466ce36232e72e)
2021-10-05 13:48:39 -04:00
hondacrx 727e0100a1 Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
Port From (https://github.com/TrinityCore/TrinityCore/commit/555b2d40ecc22eb0ea4bf913b534ffa7197fa6fe)
2021-10-03 13:55:43 -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 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 6cf76372ac Core/Spells: Fix UNIT_CREATED_BY_SPELL in SPELL_EFFECT_SUMMON
Port From (https://github.com/TrinityCore/TrinityCore/commit/69663cc94f8b90daa5f19192313d4c4129ba64cc)
2021-09-24 10:23:22 -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 4aabb695d5 Core/AreaTriggers: Rename spell_areatrigger* tables to areatrigger_create_properties* according to last MiscValue research for areatrigger effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee73948a64fc3d767d37cd3cc7f44358c5274b83)
2021-09-17 10:57:02 -04:00
hondacrx 6e9d1ba1f7 Core/Entities: don't skip immunity checks for positive spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/cfe69470a888082f21a639560f54e9c9ed2f3512)
2021-09-09 13:53:16 -04:00
hondacrx ed98f4a2a4 Some fixes 2021-09-08 23:41:06 -04:00
hondacrx c790d78095 Core/Entities: fix creatures ignoring immune flags.
Port From (https://github.com/TrinityCore/TrinityCore/commit/339a2acac86604c32a1501e0af3454b979ad1e1b)
2021-09-08 23:36:28 -04:00
hondacrx 7cfe3c0021 Core/Spell: fix SendSpellMiss requiring caster Unit
Port From (https://github.com/TrinityCore/TrinityCore/commit/60ff73eeba93c7f97abff0eeb504cb4b5ff8a6cd)
2021-09-08 23:26:14 -04:00
hondacrx 7770ef3f5e Core/Spell: fix target checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2ea26816e19224484377697311f3de1f4cc8f55)
2021-09-08 23:21:51 -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 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -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