Commit Graph

248 Commits

Author SHA1 Message Date
hondacrx 4fea5e1b1e Fixes when getting on some transports the npcs around you would disappear, and sometimes you would die from fall damage. 2022-08-01 17:46:11 -04:00
hondacrx e824b43603 Core/Scripts: Added CalcCastTime spell script hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/6713fa4c93f87af351f3ee65c1ff36b52ea85ddb)
2022-07-29 18:06:37 -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 2b74effdd8 Misc fixes 2022-07-23 22:48:56 -04:00
hondacrx a27a353d38 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/073a036d84365dae60a70064eb67e68f0447bd72)
2022-07-19 20:50:34 -04:00
hondacrx b3a404e2e8 Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/775be0682a794d0a1f62d656f8c6c6dffca8de79)
2022-07-19 12:14:32 -04:00
hondacrx 9961b71f17 Core/Players: Cleaned some old updatefield definitions and updated values for completed quests size
Port From (https://github.com/TrinityCore/TrinityCore/commit/26d757946f4e26397930e2d8733c0b1c7f76d0a6)
2022-07-18 22:07:17 -04:00
hondacrx 31d207c2ab Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync
Port From (https://github.com/TrinityCore/TrinityCore/commit/cb99b08b86f8773563276bf16ccc2210003b056b)
2022-07-18 22:01:10 -04:00
hondacrx ba6c30add4 Start adding missing scripts Part3 2022-07-06 23:53:47 -04:00
hondacrx bae8363ca3 Core/Creatures: Implemented sending different creature id for summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf1b6eb5cbfd1dc8f1b0d26c29ae1423784cabb)
2022-07-04 00:49:18 -04:00
hondacrx 63cbd18350 Fixed crashes and errors when loading into world. 2022-06-21 14:56:22 -04:00
hondacrx b204754f51 Core/Spells: Corrected unit flag checked with SPELL_ATTR6_CAN_TARGET_UNTARGETABLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/61263bf74dfa6d8ee6e54b56f54a8b3e01c80140)
2022-06-20 22:46:50 -04:00
hondacrx 37d62e3a32 Core/Transports: Localized transport objects within each map
Port From (https://github.com/TrinityCore/TrinityCore/commit/cace41449771bbe692e1a45c4d38b15a12f6496e)
2022-06-16 14:08:22 -04:00
hondacrx bbe99e3be8 Core/Transports: Path generation rewrite v2 (needs testing)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2c1b699e6e4d30c752b65241bc23191920a86fd)
2022-06-14 00:40:57 -04:00
hondacrx 4efe624af1 Core/PacketIO: Updated packet structures to 9.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3c4216de8e1dcb9f62d2fcc1b9b72852e5409c9)
2022-06-03 20:01:55 -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 2cc0b372bf Core/PacketIO: Implemented CMSG_MOVE_INIT_ACTIVE_MOVER_COMPLETE and ActivePlayerData::TransportServerTime updatefield
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa592e431b945800928f2e43b3812cfa240fada1)
2022-06-02 22:16:12 -04:00
hondacrx 7bc70c02ad Core/Spells: Rename SpellAttr6 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/94aac14b4da2d6d2b7565dfdb91313f09a87f168)
2022-06-01 15:55:27 -04:00
hondacrx da9cd08caa Core/Spells: Implemented SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK
Port From (https://github.com/TrinityCore/TrinityCore/commit/d71ca7a8f5aab79a7ee662dbc5632a0de7dede3f)
2022-06-01 13:54:41 -04:00
hondacrx 13701dac7c Core/Spells: Rename SpellAttr5 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/738f285432b1ef6109d1c54ab7f40d743a994631)
2022-06-01 13:45:46 -04:00
hondacrx 8cddeb0fc5 Core/Spells: Rename SpellAttr3 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/88d7b58a3dd8b0eb95c233a20c1608ddce73d9ea)
2022-06-01 13:01:55 -04:00
hondacrx a198e03a1d Core/Spells: Rename SpellAttr2 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/dda375b9868d6dbe2a4d58b386bb90ae41d25e0d)
2022-06-01 11:53:42 -04:00
hondacrx a2d9499152 Core/Spells: Rename SpellAttr1 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/c88b602a2c7eda598a4205dd0ec9f562c31f21b0)
2022-05-31 22:13:24 -04:00
hondacrx dc6eb46302 Core/Spells: Rename SpellAttr0 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/a31e6819447626cd7b6967665001ea89bf6a0298)
2022-05-31 21:05:21 -04:00
hondacrx da944ab528 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a04a0c496c8c0c521eeaa76e34fbeb531cc1d9)
2022-05-31 19:42:40 -04:00
hondacrx dfee7691f7 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
2022-05-31 13:45:46 -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 965aeb7425 Updates some enums
Port From (https://github.com/TrinityCore/TrinityCore)
2022-05-29 22:53:33 -04:00
hondacrx ccf3198c7e Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4906ce60be52c9a678287672a6461c3068beea3)
2022-05-29 22:48:47 -04:00
hondacrx c571578df1 Core/Game: include addtional parameter in Object::GetPlayerListInGrid
Port From (https://github.com/TrinityCore/TrinityCore/commit/5b6bcbff1a94c4bc32c42f05d77af97d63cef420)
2022-05-29 20:37:26 -04:00
hondacrx d0c767cfdf Core/Objects: Units possessing another ones must use the detection of the latter
Port From (https://github.com/TrinityCore/TrinityCore/commit/74645553be9213e366a62c6967db1d9933f3d7a7)
2022-05-29 16:22:01 -04:00
hondacrx dd7ffa89dc Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bcff210f90d57689557b7b8cc20cd336b8ab035)
2022-05-25 13:55:04 -04:00
hondacrx 63f17d776a Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT
Port From (https://github.com/TrinityCore/TrinityCore/commit/19f64e66e58d3d7ebed6437a474a134e7c673ed6)
2022-05-23 17:11:04 -04:00
hondacrx c9a045e3c8 Core/Objects: Add new 9.2 guid types
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e9b9603b66b94ef5f11a25dc7100e5db60d09e0)
2022-05-10 13:52:42 -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 add1e659bf Core/Spells: Pass cast item level to triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e2d1e328ebec60c76d65651b268ec3ad2ce26fc)
2022-05-05 10:21:47 -04:00
hondacrx 39ec9e309f Core/Objects: Use player as summoner for personal clones
Port From (https://github.com/TrinityCore/TrinityCore/commit/79c605436942d652c50e4cfeac9d1b20a86a2343)
2022-05-05 10:02:40 -04:00
hondacrx 09a4e13453 Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS
Port From (https://github.com/TrinityCore/TrinityCore/commit/d22d4616339a966ce5e5fe959dca622fc21b7988)
2022-05-05 09:52:50 -04:00
hondacrx a9dcb2f2d7 Scripts/Obsidian Sanctum: Fix portals not being visible
Port From (https://github.com/TrinityCore/TrinityCore/commit/d561a691220c2c0856f63ff6cbcd4d0af8c761d5)
2022-04-28 10:14:22 -04:00
hondacrx bdc6cdfcc1 Core/Objects: Don't consider SMSG_UPDATE_OBJECT packets that contain only destroyed objects as empty
Port From (https://github.com/TrinityCore/TrinityCore/commit/faf12a888394f220fa057526b56bd456f3790f4f)
2022-03-09 14:53:21 -05:00
hondacrx ffd0f4280b Core/Objects: Cleanup SmoothPhasing code - move to separate files and better integrate it with visibility system
Port From (https://github.com/TrinityCore/TrinityCore/commit/70442041300bb0a1146717497fd5f771d874befa)
2022-03-09 14:51:55 -05:00
hondacrx f0d1a632ff Core/Objects: Implement SmoothPhasing part of CreateObject and replacing visible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5c713eaf21ce086074cf5934d1ee105c2c86922)
2022-03-09 14:09:03 -05:00
hondacrx e65a1e95cf Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during visibility update
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82a0381d704e4b4b9976daf04d541d1130e541)
2022-03-09 12:33:25 -05:00
hondacrx 510a1a0208 Core/Objects: Add overridable function UpdateObjectVisibilityOnDestroy
Port From (https://github.com/TrinityCore/TrinityCore/commit/472384e75781ce362af9721fc16928da9eea82dd)
2022-03-09 12:26:16 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 7f86f6ce1e Core/Gameobjects: Improve IsValidAttackTarget faction check for traps that hasn't owner or have NPC owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/054b62be3b20270bac8e36901c3e0ab14f66e58f)
2022-02-27 23:31:47 -05:00
hondacrx 738ef0b1d5 Core/Gameobjects: Traps shouldn't ignore IsImmuneToNPC/IsImmuneToPC and IsInSanctuary rules if has owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb39553831936c589697390e4a1827c977103c22)
2022-02-27 23:22:55 -05:00