Commit Graph

390 Commits

Author SHA1 Message Date
killerwife 8e6d35c9b2 fix(Core/SAI): idle casters (#23005) 2025-09-23 20:45:48 -03:00
Andrew 78dea88d5d fix(Scripts/AzjolNerub): Fix Anubarak impale sequence (#22717) 2025-09-23 10:49:23 +02:00
Yehonal 403dacc885 feat(Core/SAI): enhance movement actions with force destination option (#22974) 2025-09-20 13:15:45 +02:00
Yehonal 09b79f45f2 feat(NPC): add configuration for creature repositioning during NPC combat (#22973)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2025-09-20 03:49:50 +02:00
Andrew b09609e47d feat(Core/Spells): Implement OnSpellCastFinished hook (#22941)
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
2025-09-19 04:52:22 -03:00
Andrew 9e0b6ff7a6 fix(Core/Creature): ensure target is valid when acquiring GUID (#22937) 2025-09-15 19:05:50 -03:00
Andrew 94c2f38ecc feat(Core/SAI): Implement delay option to SMART_ACTION_TALK (#22918) 2025-09-15 09:44:49 +02:00
Andrew 28532bc1e0 feat(Core/AI): Allow preventing health check events while casting (#22897) 2025-09-14 18:48:33 -03:00
Andrew f893df775c feat(Core/Conditions): Implement CONDITION_AI_DATA and support for st… (#22879) 2025-09-11 18:38:56 -03:00
Andrew d69f61d7ab fix(Core/SAI): Fix crash in SMART_TARGET_OWNER_OR_SUMMONER (#22789) 2025-09-04 06:19:25 -03:00
Andrew f1cb5cc71b fix(Core/SAI): Remove combat flag on evade for SAI-scripted charmed u… (#22775) 2025-09-02 20:15:40 -03:00
iThorgrim 413178662a fix(Core/SAI): GameObject smart_script based on GUID (#22710) 2025-08-20 19:31:00 -03:00
天鹭 2602add0fd refactor(Core): Improve readability (#22691) 2025-08-19 15:03:03 +02:00
Andrew 5369aec3c9 fix(Core/SAI): Force SMC creatures to resume chasing victims once in… (#22581) 2025-08-12 14:31:08 -03:00
Takenbacon 73317b2706 feat(Core/Grids): Remove WorldObject separation in grid containers (#22595) 2025-08-09 06:36:24 +02:00
Jelle Meeus a88c058ef0 fix(Core/AI): prevent PetAI autocast leap to self and allies (#22472)
Co-authored-by: xomachine <xomachiner@gmail.com>
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2025-07-14 10:23:55 +02:00
Rocco Silipo d6cf473882 fix (Core/SmartScript) Improve SMART_ACTION_START_CLOSEST_WAYPOINT. (#22364)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2025-06-27 20:07:54 +02:00
Vanna White 36c4de6590 fix(CORE/SAI): Properly Implement START_CLOSEST_WAYPOINT (#22256)
Co-authored-by: wetbrownsauce <you@example.com>
2025-06-26 13:12:13 +02:00
Tereneckla 0810fa076a refactor(Core/AI): rename FarthestTargetSelector to RangeSelector (#22026) 2025-06-24 23:09:38 +02:00
Tereneckla e77f5d63da fix(Core/AI): crashfix(#22352) (#22353) 2025-06-24 17:03:45 -03:00
Tereneckla 92094eec01 fix(Core/Spell): implement SPELL_ATTR5_NOT_ON_PLAYER and SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC (#22332) 2025-06-22 22:51:58 -03:00
Kitzunu 8200f3729e fix(Core/SAI): Exclude GMs for player target/event (#22345) 2025-06-22 21:47:32 -03:00
Ryan Turner 84533758f9 fix(core/SMART_EVENT_LINK) - Seperation and clarification of "not found or invalid, skipped" (#22240) 2025-06-17 20:14:45 +01:00
Andrew 9279b1248f fix(Core/SAI): Don't try to reposition SMC creatures while moving (fi… (#22280) 2025-06-07 15:43:53 -03:00
Benjamin Jackson b73bdb3adc chore(Core): Remove unused and inaccurate comment headers for various script-related files. (#22263) 2025-06-05 15:49:20 -03:00
Benjamin Jackson 2a93e7d410 chore(Core/Unit): Correct typo of Controlled. (#22260) 2025-06-03 08:56:44 +02:00
Jelle Meeus b15507eb06 feat(Scripts/Commands): .debug boundary to visualize CreatureBoundary (#22099)
Co-authored-by: avarishd <46330494+avarishd@users.noreply.github.com>
Co-authored-by: treeston <treeston.mmoc@gmail.com>
2025-05-30 11:42:11 -03:00
Tereneckla a8b982dca8 refactor(Core/AI) don't add currentTarget to the front of the SelectTargetList for MaxThreat/Random (#21965) 2025-05-05 20:17:10 +01:00
blinkysc d23e61b721 fix(SmartAI): Ensure immediate combat engagement (#21854)
NPCs will stop their current waypoint and start combat.
2025-04-26 19:24:35 +01:00
Benjamin Jackson 9ced420849 fix(Core/AI): Ignore PvP flagged players for aggressive pets if owner is not PvP flagged. (#21922) 2025-04-21 09:40:56 +02:00
sudlud 4459afc98d fix(Core/Movement): Allow MoveFollow to not inherit speed of the target (#21711) 2025-03-15 21:47:11 +01:00
Andrew 835283bf26 feat(Core/Scripting): Implement ScheduleEnrageTimer() helper (#21597) 2025-02-24 09:59:18 +01:00
Andrew b17d69b33c feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411) 2025-02-12 12:16:02 +01:00
Kitzunu 17412174be feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105) 2025-02-01 22:49:41 +01:00
Kitzunu 9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Kitzunu 2aa8c8aa80 refactor(Core/SmartScripts): Clean up validation logic by replacing A… (#21184) 2025-01-16 20:49:26 +01:00
Andrew d94dda9d93 feat(Core/SAI): Implement SMART_ACTION_DISMOUNT (206) (#20899) 2024-12-12 06:11:42 +01:00
Andrew 0f1618faf5 feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable aut… (#20805)
* feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable autoattacks

* Update ScriptedCreature.cpp
2024-12-02 08:11:18 -03:00
Kitzunu 490c90bdd7 feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY (#20804)
* feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/15755

* mb
2024-12-01 13:57:39 -03:00
Kitzunu ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
sudlud b2c04603f7 feat(Core/SmartAI): add startup error for non existent SmartAI entries (#20694) 2024-11-24 21:25:02 +01:00
Andrew c5876bff6f fix(Scripts/ZulAman): Fix Amani Hatcher behaviour (#20687) 2024-11-24 07:56:18 -03:00
Andrew 0b771cbc92 fix(Core/Creature): Don't call reset if still in combat (#20675) 2024-11-23 10:57:26 +01:00
Jelle Meeus 640f84e280 feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE (#20575) 2024-11-20 06:36:17 -03:00
Francesco Borzì a9f0f371e5 refactor(src/server/game): optimise imports (#20541) 2024-11-13 11:37:20 +01:00
Jelle Meeus 3565e4a9eb feat(Core/WorldState): improved WorldState scripting (#20141)
* 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-12 12:15:27 -03:00
Andrew e741a9a87f feat(Core/Scripting): Implement SetInvincibility() to prevent creatur… (#20508) 2024-11-11 00:22:03 -03:00
Andrew 734bcb5d10 chore(Core/Creature): Fix typo (#20510) 2024-11-10 15:21:58 +01:00
Andrew d73ebe2e38 fix(Core/SAI): Don't try to reposition Rooted inhabit type creatures (#20504) 2024-11-10 04:54:01 -03:00
Francesco Borzì 2ce2c8cf3a refactor(src/server/game/*): remove unused imports (big part 3) (#20315) 2024-10-27 13:10:28 +01:00