168 Commits

Author SHA1 Message Date
Hondacrx 6da69c8263 Core/AI: Implement OnAuraApplied and OnAuraRemoved hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1e07ac6553c7ae1e3296fc044247f0d0f95d267)
2025-12-08 15:10:55 -05:00
Hondacrx 8df85c90d7 Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring
Port From (https://github.com/TrinityCore/TrinityCore/commit/1085b3f43321e58f151c1543a70b3558c26ed8e5)
2025-12-08 10:14:29 -05:00
Hondacrx 3d23a9f162 Core/Groups: Fixes groups staying linked with players. 2025-09-02 22:43:56 -04:00
Hondacrx c5cccdec10 Core/Objects: Unify Searcher classes into one common implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/261eb201bf107cef441d9b075e8f23bf0edfbaf0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/526b16fea41fb69a302fdebe8a727e175949f04b)
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7dce6521323e788ebf28297ec941a6f9bf876f)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5334467f493eb16141f4ad0bce956bc3e19244a0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e7725c15b149baaf96731231239769e482ec2ed)
Port From (https://github.com/TrinityCore/TrinityCore/commit/21712f475383f6f3fae107706f5de5195f75b760)
2025-08-31 13:23:49 -04:00
Hondacrx 1f80df2465 Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect
Port From (https://github.com/TrinityCore/TrinityCore/commit/260fab23786917619ad3453677ed7d983a431cc4)
2025-08-14 20:37:45 -04:00
Hondacrx 1ea98d4f51 Core/Creature: Implement aggro grace period
Port From (https://github.com/TrinityCore/TrinityCore/commit/26d1337461114506ca57e2265d3dc5e96fd08f82)
2025-05-25 10:39:42 -04:00
Hondacrx e44861a629 Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
2025-05-19 17:23:36 -04:00
Hondacrx ba80dede79 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/23bb1a56b74191e131e41ad25edbe40ee4e76a96)
2024-11-17 12:09:17 -05:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx dcfcbd779a Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE
Port From (https://github.com/TrinityCore/TrinityCore/commit/be3dc89c32e5b60df4c026d8b19505e529e199b6)
2024-02-27 13:49:15 -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 aac60cf9a8 Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784)
2024-02-06 10:01:30 -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 c9a11f3ead Core/AI: Move ArcherAI to individual creature script
Port From (https://github.com/TrinityCore/TrinityCore/commit/caa4cfb5695deabd0bb9059f01435f3c8027aff7)
2024-02-02 14:55:26 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx ccb5341c21 Some misc cleansup. 2023-10-06 17:33:20 -04:00
hondacrx 76c928cd2c Core/Scripts: Add multiple "Pass parameters between AI" methods on AreaTriggerAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cdf0a44b22c783a150f0774eb0917a8db69b162)
2023-09-14 07:01:50 -04:00
hondacrx 07a2dd9859 Core/AI: Implemented OnHealthDepleted hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea134c0eae83b4cdbb5f0e941ed867a144bb01f6)
2023-09-04 13:07:59 -04:00
hondacrx fb44221203 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/88ff97c1f96381565c47f8ca1993bdc7fce19fd6)
2023-09-04 07:50:01 -04:00
hondacrx b6b558f03a Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbe7cba7f411977d756f6f697056aafb920a5b0a)
2023-08-28 11:30:37 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 0b1d41cc7b Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8)
2023-06-30 08:36:13 -04:00
hondacrx 097346aad5 Core/Units: Prevent backward melee attacks
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d5d3cf655b3e701d8a570b03499a388476cbdf9)
2023-04-25 08:58:18 -04:00
hondacrx bd2eb5baab Core/Creature: Implemented sparring with max health percent thresholds
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048)
2023-04-25 08:38:55 -04:00
hondacrx 5d0d9822e8 Core/Creatures: Allow flagging creatures to not clear their tap list when evading
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e309ed17ff448b971f206c7ea7174c736230299)
2023-03-23 07:04:20 -04:00
hondacrx d0b7bcb2fe Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032)
2023-03-14 04:34:51 -04:00
hondacrx 5a79b3f385 Core/Scripts: Make CreatureAI::DoZoneInCombat overload accepting a different creature static
Port From (https://github.com/TrinityCore/TrinityCore/commit/080bf4c5650d54694819f6aaf7a12f3cbc623ef4)
2023-03-14 02:14:00 -04:00
hondacrx 5c22dca105 CreatureAI Cleanups 2023-01-24 23:18:14 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 9b62b83984 Core/Loot: Implemented personal loot and tag sharing for non-boss loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2)
2022-10-18 16:07:00 -04:00
hondacrx 9ea20a8925 Fixes some crashes. 2022-10-11 17:09:56 -04:00
hondacrx 0a28bd434a Core/SAI: Rename LeavingWorld to OnDespawn & use it in SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0164fb2b9cc35663e337d48660d5bca1e973d99)
2022-09-05 21:57:54 -04:00
hondacrx 54d5d59898 Start adding missing scripts Part1 2022-07-04 20:11:21 -04:00
hondacrx 0224d95b91 Core/Spells: Increase search radius for avoid problems with some spells that can't find units with huge combat reach
Port From (https://github.com/TrinityCore/TrinityCore/commit/b52ce8e65e8998df1b243b854129d359ee2d25ae)
2022-06-15 16:09:33 -04:00
hondacrx 68d8f664d7 Core/Spells: Implemented SPELL_ATTR5_NOT_ON_PLAYER and SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC
Port From (https://github.com/TrinityCore/TrinityCore/commit/acda6f9dcf411a1406b81e1a100125dbe34f942b)
2022-06-01 15:37:28 -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 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 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 306b0cb227 Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a)
2022-05-30 15:44:21 -04:00
hondacrx f07b6fecd5 Core/AI: Fix crashes caused by charmed Creatures having null AI for 1 map update tick
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c25abca72772e2962bac7f460a567a943388a05)
2022-05-30 14:56:15 -04:00
hondacrx 496b1e0c46 Core/Pets: Do not force pets to follow their charmer when possessed by player
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f02596162715b273b1a830425ae783bd00561c9)
2022-05-30 14:08:55 -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 0534356aff Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/71c2f0af46b3ccec8c3422534e4403f3650b757d)
2022-05-29 20:34:44 -04:00
hondacrx 558e976a5e Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e0deaefd4e84c8069f6249778774f605fc5e628)
2022-05-26 20:08:35 -04:00
hondacrx c5f84e953f AI/CreatureAI: Properly update Victim even while spell focusing
Port From (https://github.com/TrinityCore/TrinityCore/commit/1bbf61ef02061bfbc80e5293b4d4de0ad4560d36)
2022-05-24 13:06:13 -04:00
hondacrx 3c3d16ab09 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1594c7295f1ca3f21a63a13895abf371d8bd3e0)
2022-05-24 12:54:25 -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 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 6c4c78ae59 Core/AI: CombatAI refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/eca1e6e9cbdf89acf25e6623453809f343b58850)
2022-05-03 13:31:43 -04:00
hondacrx 7a7c3a3a1f Core/Scripts: Remove now-unused WaypointPathStarted hook. WaypointStarted does everything it used to do, anyway.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc094509e9df59e055840936ba3389504fba87df)
2022-04-28 10:37:51 -04:00