hondacrx
49cf411e04
Core/Battleground: Moved DoAction hook to ZoneScript
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/22614d6bcc1a9c201d16779a93ee886facf6f7b4 )
2024-02-05 13:27:36 -05:00
hondacrx
ad9b9eddb2
Core/Maps: Cleaned up incorrect error log
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f26a93a8c1bd0a7c3c3c3362f29ec809fb96a68b )
2024-02-04 16:32:52 -05:00
hondacrx
5972f3b8a1
Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f )
2024-02-04 16:31:49 -05:00
hondacrx
00de526f7d
Core/Maps: Properly set initial spawn group state for groups that have conditions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb64d7fe8efe5ecba40123cdc96195d3ca52d7c0 )
2024-02-04 14:49:04 -05:00
hondacrx
89ad2414c4
Core/Instances: Prevent sending PendingRaidLock in instances that don't have a InstanceScript
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/75a306e422cfb83c688b90ea428522251a70e68b )
2024-02-03 14:04:56 -05:00
hondacrx
0226b9ff49
Core/Instances: Fixed initializing instance id sequence generator
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eb6b0156d7e46fe92e2550ce21ba553c705e0a0 )
2024-02-03 11:17:33 -05:00
hondacrx
226e12890e
Core/BattlegroundMap: Load all cells when created & mark all creatures as active
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72bde5236d41a7f66abb25ce9e118eeb1c5aa92 )
2024-02-03 11:15:25 -05:00
hondacrx
d0cd2aae8a
Core/Achievements: Implemented DefeatDungeonEncounter and DefeatDungeonEncounterWhileElegibleForLoot criteria types
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/765f86fdc001ce352a706d2950197b1007d9afce )
2024-02-03 11:09:53 -05:00
hondacrx
d9e524a657
Core/InstanceScript: Refactored door types to reflect its behavior
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e2f04172864e3cff2b5559ac89ded23ade5f92e )
2024-02-02 15:04:43 -05:00
hondacrx
4c66c90f94
Core/Map: Implement several difficulty getters
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9eceff2bc243946998c006418229dbb639e898d6 )
2024-02-01 18:02:16 -05:00
hondacrx
2a7273f1ec
Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b6589c1ecc159f6949c5535785fba79a04b2c4a )
2024-02-01 11:43:10 -05:00
hondacrx
d2edbdeecc
Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/da0ba86694010fcb1adb5ed88cbc212dd4a33ab5 )
2024-02-01 11:34:50 -05:00
hondacrx
c8ccacf6c6
Core/Objects: Added GameObject type parameter to FindGameObjectOptions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/52102a6395bc6244bdcfa55e357425bd5c9aefc4 )
2024-02-01 10:12:19 -05:00
hondacrx
a436f7b2d1
Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ce96adb7a8ae29a577cce268c8bd3742253cf69 )
2024-02-01 09:51:04 -05:00
hondacrx
e2caec12dc
Core/GameObject: Implement ControlZone gameobject type
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f96f041c3edadfb5f1f09705fe699c2d7a9ed423 )
2024-01-31 20:53:44 -05:00
hondacrx
0b81750b42
Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/69317c25947e682036813aa7f6e9200056232a13 )
2024-01-30 10:39:11 -05:00
hondacrx
56eefeb54b
Misc cleanup
2024-01-30 09:24:45 -05:00
hondacrx
d96f7fb821
Core/Instances: Kill instance_encounters table, it is no longer neccessary
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559 )
2024-01-29 15:22:25 -05:00
hondacrx
c36e0d7f73
Core/Instances: Removed deprecated field from InstanceScript
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e29c0066efe1157a10e74efef4554de26a984de )
2024-01-29 15:04:01 -05:00
hondacrx
33091ed942
More updates to scripts (still wont build)
2023-10-13 16:11:34 -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
967624c664
Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/30f57de184fb96dfb6c548201e7717fa293682e1 )
2023-09-14 04:53:47 -04:00
hondacrx
c8c75431bf
Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3 )
2023-09-14 03:29:15 -04:00
hondacrx
0e2dd0cda3
Core/Creatures: add TimeSpan to TempSummon
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216 )
2023-09-13 20:59:45 -04:00
hondacrx
f7ae161e3d
Core/MMaps: Fixed pathing for objects that have terrain swaps active
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/86725ed9267803506d8a5cab04c2c5641a234dd9 )
2023-09-13 20:46:16 -04:00
hondacrx
6f387e563f
Core/GameObjects: Added stringid to gameobjects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f )
2023-09-12 15:45:47 -04:00
hondacrx
b74cdf643f
Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfc27f5ca81402ed41973a0206838e7a0352070 )
2023-09-04 13:28:15 -04:00
hondacrx
49a07ebcce
Core/Items: Item bonus generation improvements
...
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd )
2023-06-21 09:19:40 -04:00
hondacrx
11575d6d39
Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7881f0ef5ff79b691a5abb9cd727755f49afba47 )
2023-05-30 05:08:45 -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
f670656393
Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/998ee363c5e41141da158ea39c0dae0814967fba )
2023-05-21 17:19:33 -04:00
hondacrx
fd377ebc0d
Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf )
2023-05-21 17:17:00 -04:00
hondacrx
535d068b47
Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fddf06daa4ea69bf4ce28d57797e8f9f8b17f76 )
2023-05-21 17:12:02 -04:00
hondacrx
24fd4563ba
Fixes one crash and chat not working.
2023-03-24 07:37:16 -04:00
hondacrx
c00e66442d
Core/Instances: Fixed not being able to reenter instances that have no encounters completed
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2569dc8cfec7a5fd89f037579ea6081504b9223f )
2023-03-23 07:26:15 -04:00
hondacrx
af78cf4759
Core/Instances: Fixed instance locks being incorrectly found and forcing difficulty when entering normal mode dungons
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f642b78f04bbbc723d573362ff25f2ede24f5af )
2023-03-23 07:14:42 -04:00
hondacrx
f51dbf95ec
Fixes creatures falling under map when chasing a player though water.
2023-02-21 19:18:28 -05:00
hondacrx
da283244ca
Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d413c9b4be6af296490580f7acc1d66e606ca9 )
2023-02-11 23:30:57 -05:00
hondacrx
149fadccab
Make PreparedStatements static for each database.
2023-02-04 20:55:14 -05:00
hondacrx
7ab417f08b
Core/Battlegrounds: Unload all grids before destroying battleground object
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fc3cd455b51d2de4ba5a70b7eff15e23b3da481 )
2023-01-23 00:26:06 -05:00
hondacrx
32ea5a96f5
Core/Player: Vertical "Say" distance
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab77b1d99254855d690670a4654cacec8b12daf6 )
2023-01-22 23:41:15 -05:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
111059afe6
Core/Creatures: Fix logic when searching for nearby creatures by StringId
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/795edfaf98e065b8eaa76683e0cd1a4211b0847d )
2023-01-11 01:18:05 -05:00
hondacrx
54a507e284
Core/Maps: Fixed retrieving terrain info when on child maps
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/704142f15a51055c4fa064b1286b65d78b795e05 )
2023-01-06 16:38:58 -05:00
hondacrx
a16289d51e
Core/Maps: Implemented WMOAreaTable -1 grouipid fallback
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc07faf8f4d3c648114dd370463c599a2f949c20 )
2023-01-06 16:24:37 -05:00
hondacrx
54413bf584
Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a96d3235058df5929d3acccb379a7252dd53d94 )
2023-01-06 16:08:26 -05:00
hondacrx
0c782c60c2
Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/61c51b76c00d932a9180bc6781a244dc18375ef7 )
2023-01-05 16:44:30 -05:00
hondacrx
23c3084f00
Core/Objects: Implement FindNearestCreatureWithOptions helper function
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ab0679781ba65bc278203ee01d1169114c64033 )
2023-01-05 03:02:26 -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