From 605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 8 Jan 2024 22:23:12 +0100 Subject: Core/Creatures: Moved autoattack handling from scripts to game --- src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp | 4 ---- src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp | 1 - 2 files changed, 5 deletions(-) (limited to 'src/server/scripts/DragonIsles') diff --git a/src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp b/src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp index 903c57b830d..b23f9795825 100644 --- a/src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp +++ b/src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp @@ -205,8 +205,6 @@ struct boss_leymor : public BossAI if (me->HasUnitState(UNIT_STATE_CASTING)) return; } - - DoMeleeAttackIfReady(); } private: @@ -284,8 +282,6 @@ struct npc_arcane_tender : public ScriptedAI if (me->HasUnitState(UNIT_STATE_CASTING)) return; } - - DoMeleeAttackIfReady(); } private: EventMap _events; diff --git a/src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp b/src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp index a78b22617b1..1e9c8a72e0a 100644 --- a/src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp +++ b/src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp @@ -227,7 +227,6 @@ struct boss_telash_greywing : public BossAI if (me->HasUnitState(UNIT_STATE_CASTING)) return; } - DoMeleeAttackIfReady(); } void DoAction(int32 param) override -- cgit v1.2.3