summaryrefslogtreecommitdiff
path: root/src/server/game/AI/SmartScripts
AgeCommit message (Collapse)Author
4 daysfix(Core/SAI): implement response for ranged mode on interrupt (#24175)killerwife
7 daysfeat(Core/SAI): Implement SMART_ACTION_SET_ANIM_TIER (#24143)killerwife
2025-12-10fix(Core/SAI): Remove Invoker in SMART_EVENT_EVENT_PHASE_CHANGE (#24051)Vanna White
Co-authored-by: wetbrownsauce <you@example.com>
2025-12-02fix(Core/SAI): SMARTCAST_COMBAT_MOVE prevents movement on successful cast ↵blinkysc
(#23913)
2025-11-24fix(Core/SAI): Allow game objects to use load grid (#23881)daobashun
2025-11-14fix(docs/license): use GPLv2 as MaNGOS-based project (#23655)Francesco Borzì
2025-11-12fix(Core/SmartAI): startup warnings unused params (#23551)sogladev
2025-10-28SmartAI: Fix npcs not waypointing when offset is too big (#23453)killerwife
2025-10-26feature(SmartAI/Movement) - Unify waypoint systems (#23251)killerwife
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-09fix(DB/Script/Gundrak) Improve Drakkari Rhino bridge event. (#23144)Rocco Silipo
2025-09-27fix(Core/SAI): Fix crash when using SMART_TARGET_INSTANCE_STORAGE in … ↵Andrew
(#23033)
2025-09-23fix(Core/SAI): idle casters (#23005)killerwife
2025-09-20feat(Core/SAI): enhance movement actions with force destination option (#22974)Yehonal
2025-09-15feat(Core/SAI): Implement delay option to SMART_ACTION_TALK (#22918)Andrew
2025-09-11feat(Core/Conditions): Implement CONDITION_AI_DATA and support for st… ↵Andrew
(#22879)
2025-09-04fix(Core/SAI): Fix crash in SMART_TARGET_OWNER_OR_SUMMONER (#22789)Andrew
2025-09-02fix(Core/SAI): Remove combat flag on evade for SAI-scripted charmed u… ↵Andrew
(#22775)
2025-08-20fix(Core/SAI): GameObject smart_script based on GUID (#22710)iThorgrim
2025-08-19refactor(Core): Improve readability (#22691)天鹭
2025-08-12fix(Core/SAI): Force SMC creatures to resume chasing victims once in… ↵Andrew
(#22581)
2025-08-09feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)Takenbacon
2025-06-27fix (Core/SmartScript) Improve SMART_ACTION_START_CLOSEST_WAYPOINT. (#22364)Rocco Silipo
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2025-06-26fix(CORE/SAI): Properly Implement START_CLOSEST_WAYPOINT (#22256)Vanna White
Co-authored-by: wetbrownsauce <you@example.com>
2025-06-24refactor(Core/AI): rename FarthestTargetSelector to RangeSelector (#22026)Tereneckla
2025-06-22fix(Core/SAI): Exclude GMs for player target/event (#22345)Kitzunu
2025-06-17fix(core/SMART_EVENT_LINK) - Seperation and clarification of "not found or ↵Ryan Turner
invalid, skipped" (#22240)
2025-06-07fix(Core/SAI): Don't try to reposition SMC creatures while moving (fi… ↵Andrew
(#22280)
2025-05-05refactor(Core/AI) don't add currentTarget to the front of the ↵Tereneckla
SelectTargetList for MaxThreat/Random (#21965)
2025-04-26fix(SmartAI): Ensure immediate combat engagement (#21854)blinkysc
NPCs will stop their current waypoint and start combat.
2025-02-12feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411)Andrew
2025-02-01feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105)Kitzunu
2025-02-01refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… ↵Kitzunu
(#21213) ...ring
2025-01-16refactor(Core/SmartScripts): Clean up validation logic by replacing A… ↵Kitzunu
(#21184)
2024-12-12feat(Core/SAI): Implement SMART_ACTION_DISMOUNT (206) (#20899)Andrew
2024-12-01feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY (#20804)Kitzunu
* feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY * closes https://github.com/azerothcore/azerothcore-wotlk/issues/15755 * mb
2024-11-24feat(Core/SmartAI): add startup error for non existent SmartAI entries (#20694)sudlud
2024-11-20feat(Core/SmartAI): introduce new `SMART_EVENT_IS_IN_MELEE_RANGE` (#20575)Jelle Meeus
2024-11-13refactor(src/server/game): optimise imports (#20541)Francesco Borzì
2024-11-12feat(Core/WorldState): improved WorldState scripting (#20141)Jelle Meeus
* implement world state script based on https://github.com/cmangos/mangos-wotlk/commit/0b87ca9d9edf2d4752a3c0f8e9cf85c6689ca861 Co-authored-by: killerwife <killerwife@gmail.com> * refactor to use onleave and onenter instead of spell_area allows players to right click remove adal's buff * add MapMgr.h * refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed * remove lock from WorldState::Update sWorldState->Update() is only called from World::Update * remove unsafe SmartAI action of setWorldState --------- Co-authored-by: killerwife <killerwife@gmail.com>
2024-11-10chore(Core/Creature): Fix typo (#20510)Andrew
2024-11-10fix(Core/SAI): Don't try to reposition Rooted inhabit type creatures (#20504)Andrew
2024-10-24fix(Core/SAI): rooted check blocks vehicles from casting quest credit (#20283)@cgrahamseven
spell The quest SteamTank Surprise has a SmartAI entry in the db that causes the tank to cast the kill credit spell on the player when they successfully destroy a plague wagon. Currently, this spell cast is being blocked by the rooted check handler for SMART_ACTION_CAST. The change proposes that this rooted check should not apply to vehicles. Closes AzerothCore issue #20237 Co-authored-by: cgrahamseven <chris.graham@protonmail.com>
2024-10-22fix(Core/SmartAI) : use explicit stack DS for ProcessAction instead of ↵Dan Costinas
recursion (#16739) * Use dequeue instead of recursion * Remove to do comments * Fix formatting * Fix more formatting :( * Use references instead of copies in the stack to correctly update event state * formatting * Revert FindLinkedEvent parameter name change and check for event type * Fix event processing in SmartScript::UpdateTimer * Use struct for defining SmartScriptFrame instead of tuple * Fix emplace_back not working on default constructor on clang 15 * Fix const placement
2024-10-01refactor(src/server/game/AI): remove unused imports (#20095)Francesco Borzì
2024-09-21chore(Core/Misc): Some cleanup (#19970)Kitzunu
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
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>