aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/DragonIsles
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-01-08 22:23:12 +0100
committerShauren <shauren.trinity@gmail.com>2024-01-08 22:23:12 +0100
commit605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3 (patch)
tree5cad677458a22ef0dd187fa86d1cd574282384dd /src/server/scripts/DragonIsles
parenteeb4407f077bf567361becdbe5083c2790f00313 (diff)
Core/Creatures: Moved autoattack handling from scripts to game
Diffstat (limited to 'src/server/scripts/DragonIsles')
-rw-r--r--src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp4
-rw-r--r--src/server/scripts/DragonIsles/AzureVault/boss_telash_greywing.cpp1
2 files changed, 0 insertions, 5 deletions
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