Commit Graph

144 Commits

Author SHA1 Message Date
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 8934cfb6dc Core/GameObjects: Changed gameobject artkit type to uint
Port From (https://github.com/TrinityCore/TrinityCore/commit/bb3b2cf4cb4897a7dd087e2409a250c887c3fb9a)
2022-06-02 20:58:32 -04:00
hondacrx 7a3f188d2c Core/GameObjects: Use all axis rotations for gameobject model collision, not just orientation
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d26e1fa40ac8d40e1b4f7c72e4c1ef3f6c5e8)
2022-06-02 20:33:18 -04:00
hondacrx 623c3198c0 Core/GameObjects: Implement more gameobject gameevent uses
Port From (https://github.com/TrinityCore/TrinityCore/commit/597485f1d4ccadaccf800a2663f3d74342aa5c4d)
2022-05-31 19:44:57 -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 1040f80181 Core/SAI: Use GetBaseObject as second param of SMART_ACTION_ACTIVATE_GAMEOBJECT & reorder GameObjectActions
Port From (https://github.com/TrinityCore/TrinityCore/commit/52bb230e4c83c814658b77f6d277da77e0b47be7)
2022-05-30 14:46:24 -04:00
hondacrx 774e978d18 Core/SAI: Add SMART_ACTION_ACTIVATE_GAMEOBJECT action
Port From (https://github.com/TrinityCore/TrinityCore/commit/791b759332b784211031571d3ca68cf0080897cb)
2022-05-30 13:41: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 867f528ac0 Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee835671b4f572f92f79c9b302764ee591c6de11)
2022-05-10 14:35:41 -04:00
hondacrx 52ce6b2700 Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
2022-05-04 09:26:05 -04: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 ce4851a33a Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9cf3828bad44cf193d6c9717b392de7346157a5)
2022-02-28 14:04:49 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00
hondacrx db46b39a93 Core/Quests: Add missing GO_DYNFLAG_LO_ACTIVATE to lootable chests related to quests but not having quest loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e586bb476f5d36df646539f5bb3d47a2101e9fc)
2022-02-22 19:42:56 -05:00
hondacrx 6cc694f990 Core/GameObject: Remove linked traps when the main GameObject is removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/88b898b92c9b2cc885b4c7371192a8aef9ebda85)
2022-02-18 13:26:17 -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 7531735669 Core/Phasing: Implemented db spawns in personal phases
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fabe5a3aacf7797f03d074ab8434f445be64955)
2022-01-27 14:01:49 -05:00
hondacrx 860bf84280 Core/ZoneScript: Add "invoker" param to ProcessEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/15b91836351a61f471865a751d4ff9ab0b5775a0)
2022-01-09 14:12:34 -05:00
hondacrx d2ba807c20 Core/Misc: Some refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/94a79bac7a06aa0f931e9d651928de7eea0a8b5c)
2022-01-06 20:07:26 -05:00
hondacrx fb6525256b Core/Gameobject: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e267dda7179daad3810ccea5a0e0acee8d97557)
2022-01-06 10:04:04 -05:00
hondacrx 09ef904fa6 Core/GameObjects: Skip LoS checks for traps
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bede687ce3d291c8af8f4deb3f1dcebba1a315d)
2022-01-05 17:47:29 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 673d2fff40 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f3904f8fd4e7536d1e7ba8e701f4774519fd867)
2022-01-04 18:46:40 -05:00
hondacrx ed761eb400 Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
2022-01-04 17:35:29 -05:00
hondacrx 55c298be9f Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
Port From (https://github.com/TrinityCore/TrinityCore/commit/eee950cdd7bcbe9443a53ea5c4cce35444a503f7)
2021-12-27 18:09:58 -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 828fafbcc8 Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2532de6acb7d73957a8fca44e7fc26160f47cc47)
2021-12-27 16:29:29 -05:00
hondacrx 5c41122916 Core/GameObject: do not allow consumable chests to restock while partially looted.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2fea2a1e8104856587d0eff651eb2199dfcd0513)
2021-12-24 21:22:21 -05:00
hondacrx 5c4a42317e Core/GameObject: fix some cases where summoned gameobjects of a type different than chest or goober would behave wrongly.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f136d3cfe0e92ac8578c631cc7c2c43086ba796f)
2021-12-24 21:20:14 -05:00
hondacrx 2a9a1a1d6b Core/GameObject: implement restock mechanic for non-consumable gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/c637260a37271a9ed2b19d44a62210e833010bde)
2021-12-24 21:14:21 -05:00
hondacrx 85d81d39fc Core/GameObject: restore old behavior for non-consumable chests with restock timer (make them despawn).
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c7bb95da58bc9621f293c1c4d560f426ae0df64)
2021-12-24 21:08:08 -05:00
hondacrx 445b24188f Core/GameObject: don't allow non-consumable goobers to despawn on use
Port From (https://github.com/TrinityCore/TrinityCore/commit/836a1bc62272861a595b339345eb1ac67c543c5b)
2021-12-24 21:07:14 -05:00
hondacrx 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d865f7536ae6feda6fba77785e4548f95ca5d03)
2021-12-16 12:56:20 -05:00
hondacrx 85359b129f Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified
Port From (https://github.com/TrinityCore/TrinityCore/commit/09fe78dd59095fa31b83a846d5fcbb53dd3afb1b)
2021-12-16 12:38:00 -05:00
hondacrx 2ded315eaa Core/Object: Range check vol. 2
Port From (https://github.com/TrinityCore/TrinityCore/commit/a13a765610d964a3aa1bab1b41331c05e24a1f78)
2021-12-07 13:53:35 -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 112970fb72 Core/GameObject: Code cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/73c6c13ace28dc62bb13789e75c304426a16d5bf)
2021-12-01 20:51:32 -05:00
hondacrx 3dd12575d9 Core/GameObject: Remove summoned gobs properly from the map without effecting other cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/a18808212e3f0e43dcb0ba099c003e45098c5dd9)
2021-12-01 20:50:49 -05:00
hondacrx 34144e11b0 Core/GameObject: Delete summoned gobs and DestroyForNearbyPlayers gobs spawned with negative spawn time once the gob is deactivated
Port From (https://github.com/TrinityCore/TrinityCore/commit/62d3010e56e018ffab0d3a0548d0b8ec51ab9964)
2021-12-01 20:47:34 -05:00
hondacrx 8701a862cc Core/Database: Delete gameobject_addon data when deleting a GameObject from the database
Port From (https://github.com/TrinityCore/TrinityCore/commit/b02143118f830691412bbc7649c1d0c9ec32f3a9)
2021-12-01 11:38:49 -05:00
hondacrx 65d40f24e6 Core/GameObject: Properly dismount players on GameObject Use
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc5cab3bf4a26b4201b6ea5a85a61a64fec80b19)
2021-11-29 16:36:38 -05:00
hondacrx f11a81c4b1 Core/GameObject: Remove summoned game objects from the map after calling SetSpawnedByDefault(false)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a99a60bcf36614c038efd33a1bd9e057935b3aaf)
2021-11-29 16:18:00 -05:00
hondacrx f91bb7e9fe SAI/GameObject: Despawn the linked trap with the gameobject
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d806f8c6943b54533dbf9a69febee3df1d00430)
2021-11-29 14:46:00 -05:00
hondacrx 309a7ad176 Core/GameObject: Set loot state to Not ready when a gob is deactivated
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0f10b505e30992942cce9a9b1fb395009344dfd)
2021-11-29 13:30:30 -05:00
hondacrx 6110585521 Core/GameObject: Implement GameObject::Use case for GAMEOBJECT_TYPE_NEW_FLAG
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a9940e17d4e943aa5d9b95f8f5b54783e14d7b2)
2021-11-23 20:48: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 e86e640c5a Core/Loot/Gameobject: Tempspawned Gameobjects after looting
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c9e5cd3f3200b378ff09a6822ceb2b5bd223e3c)
2021-10-30 20:10:17 -04:00