summaryrefslogtreecommitdiff
path: root/src/server/game/AI/ScriptedAI
AgeCommit message (Collapse)Author
2025-11-26fix(Scripts/AhnKahet): fix Jedoga Shadowseeker's ritual not starting (#23921)sogladev
2025-11-14fix(docs/license): use GPLv2 as MaNGOS-based project (#23655)Francesco Borzì
2025-10-31fix(Core/Spells): only include the targets size for some GroundEffects (#23478)Tereneckla
2025-10-24fix(Core/Scripts): Fix the wrong run in npc_escortAI (#23293)killerwife
Co-authored-by: 天鹭 <18535853+PkllonG@users.noreply.github.com>
2025-10-14fix(Core/Unit): rework Walk/Run mode (#22988)killerwife
Co-authored-by: sudlud <sudlud@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13refactor(Core): DespawnOrUnsummon (#23141)天鹭
2025-10-12refactor(Core): Make ObjectGuid const (#23170)天鹭
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a7883380ce4c827db103b0c43faca6632c3d1f66) Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2025-10-03fix(Core/Unit): add Dual Wield 'auto' to improve scripting (#23078)sogladev
2025-09-23fix(Scripts/AzjolNerub): Fix Anubarak impale sequence (#22717)Andrew
2025-09-14feat(Core/AI): Allow preventing health check events while casting (#22897)Andrew
2025-08-09feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)Takenbacon
2025-06-05chore(Core): Remove unused and inaccurate comment headers for various ↵Benjamin Jackson
script-related files. (#22263)
2025-03-15fix(Core/Movement): Allow MoveFollow to not inherit speed of the target (#21711)sudlud
2025-02-24feat(Core/Scripting): Implement ScheduleEnrageTimer() helper (#21597)Andrew
2024-12-02feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable aut… ↵Andrew
(#20805) * feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable autoattacks * Update ScriptedCreature.cpp
2024-11-23fix(Core/Creature): Don't call reset if still in combat (#20675)Andrew
2024-11-11feat(Core/Scripting): Implement SetInvincibility() to prevent creatur… ↵Andrew
(#20508)
2024-10-09fix(Core/Scripts): Further improve the ScheduleHealthCheck() function (#20163)Andrew
2024-09-25fix(Core/Unit): fix Dual Wield for more creatures, ↵Jelle Meeus
CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK, creature disarm damage (#20015) * enable CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK * sql set CREATURE_FLAG_EXTRA_USE_OFFHAND * use new HasOffHandWeaponForAttack instead of haveOffhandWeapon no longer requires m_CanDualwield set to use Offhand attack requires non-disarmed weapon in Offhand OR creature_flag_extra enabled Co-authored-by: Ovah <dreadkiller@gmx.de> Co-authored-by: Warlockbugs <warlockbugs@outlook.com> * Make shapeshift forms which dont override attack speed use weapon damage Co-authored-by: killerwife <killerwife@gmail.com> * SetEquipmentSlots turning off damage update when using template default Co-authored-by: killerwife <killerwife@gmail.com> * Setup DualWield & Damage On Equipment Updates, implement Set and GetVirtualItem Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com> * creature disarm damage set disarm to reduce minmax damage by 50% instead of setting to 0 Co-authored-by: Warlockbugs <warlockbugs@outlook.com> --------- Co-authored-by: Ovah <dreadkiller@gmx.de> Co-authored-by: Warlockbugs <warlockbugs@outlook.com> Co-authored-by: killerwife <killerwife@gmail.com> Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com>
2024-09-03refactor(Core): Make more use of helpers. (#19835)Benjamin Jackson
* Init. * Reword. * Update codestyle script. Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Add gameobject type ID check, reorder checks. * Add helper/codestyle check for unit type. * `IsUnit()` -> `IsCreature()` * Add `IsUnit()` method. * Use type mask. https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5 Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com> Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com> * Replace instances of `isType` with `IsUnit`. --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-08-31fix(Core/AI): remove an unused variable in ScriptedAI (#19816)Grimdhex
fix(Core/AI): remove an unused variable
2024-08-26refactor(Core/BossAI): Improve the ScheduleHealthCheck() code (#19743)Andrew
* refactor(Core/BossAI): Improve the ScheduleHealthCheck() code * Update ScriptedCreature.cpp --------- Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2024-08-25refactor(Scripts/TempleOfAhnQiraj): Clean up Cthun script (#19736)Andrew
* refactor(Scripts/TempleOfAhnQiraj): Clean up Cthun script * Update boss_cthun.cpp * Update boss_cthun.cpp
2024-08-25refactor(Core/Object): adds consistency in the use of type object check (#19671)Grimdhex
2024-07-06feat(Core/SAI): SetData now has invoker (#19296)Kitzunu
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/cfc77fd84355d28737f3f85f2ba318be5caacdea) * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/beb333738db0d493bf95994eb5557e174e5dd3a6) * Move IsSmart function from headerfile Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com> Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-26fix(Core/AI): Don't set boss state to none if already complete (#19139)Andrew
2024-06-16fix(Core/AI): Fix bosses being stuck IN_PROGRESS if despawnonevade fl… ↵Andrew
(#19070) fix(Core/AI): Fix bosses being stuck IN_PROGRESS if despawnonevade flag is used
2024-03-30fix(Scripts/BossAI): add optional variable to BossAI class to make sure the ↵Dan
boss calls for help (#18630) init
2024-02-27fix(Core/Creature): Prevent combat movement disabled creatures from r… ↵Andrew
(#18428) * fix(Core/Creature): Prevent combat movement disabled creatures from repositioning if target moves within model boundary * fixbuild * Apply suggestions from code review
2023-11-26refactor(Scripts/BlackTemple): Modernize Najentus boss script (#17871)Andrew
* refactor(Scripts/BlackTemple): Modernize Najentus boss script * fix build * Update ScriptedCreature.h
2023-11-20feat(Core/AI): Implement ScheduleTimedEvent() helper (#17813)Andrew
2023-11-18chore(Core/Misc): sort includes (#17776)Winfidonarleyan
* chore(Cleanup): sort includes * fix build * fix build again
2023-11-14feat(Core/AI): Add built-in `TaskScheduler` to `CreatureAI` (#17700)KJack
* Add TaskScheduler to CreatureAI * Code style, because of course.
2023-11-12feat(Core/Scripts): Prevent the inherited TaskScheduler from updating… ↵Andrew
(#17689)
2023-10-28refactor(Core/Misc): Make DeathState enum class (#17607)Kitzunu
2023-10-20fix(Scripts/EscortAI): Do not remove auras on evade (#17542)avarishd
2023-08-28refactor(Core): remove unused imports (#17094)Francesco Borzì
2023-04-09feat(Core/Scripts): Allow scheduling multiple hp checks at once for i… ↵Skjalf
(#15897) feat(Core/Scripts): Allow scheduling multiple hp checks at once for identical phases
2023-03-07feat(Core/AI): Implement DoForAllSummons() function to summon lists (#15262)Skjalf
2023-03-04feat(Core/AI): Implement ScheduleHealthCheckEvent() for events that fire … ↵Skjalf
(#15275)
2023-02-13refactor(Core/AI): Some more refactoring prep for Comat Threat system… ↵Kitzunu
(#15026) Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-11feat(Core/AI): Update the BossAI scheduler in the parent class (#14952)Skjalf
2023-02-11fix(Core/AI): Fixed mobs attacking in defensive state. (#14947)UltraNix
2023-02-05feat(Core/Unit): Combat pulse (#14792)Maelthyr
Co-authored-by: Treeston <treeston@users.noreply.github.com>
2023-02-04fix(Core/Creature): Fix bosses with hard reset flag not respawning an… ↵Skjalf
(#14862)
2023-01-26feat(Core/AI): Move TaskScheduler to BossAI class (#14757)Skjalf
2022-11-12refactor(Core/ScriptedAI): few improvements with threat methods (#13146)Maelthyr
improve threat scripts Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-10-25fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10… ↵UltraNix
(#13492) * fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10 sec after Viscidus death. Fixes #13420 * Update.
2022-09-25refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992)Maelthyr
2022-09-21fix(Core/TempleOfAhnQiraj): Viscidus (#12956)Angelo Venturini