Core/Creatures: Moved autoattack handling from scripts to game

This commit is contained in:
Shauren
2024-01-08 22:23:12 +01:00
parent eeb4407f07
commit 605e5f94c0
425 changed files with 393 additions and 1816 deletions

View File

@@ -291,8 +291,6 @@ struct boss_guarm : public BossAI
default:
break;
}
DoMeleeAttackIfReady();
}
void WaypointPathEnded(uint32 /*nodeId*/, uint32 pathId) override

View File

@@ -620,8 +620,6 @@ struct npc_illidari_fighting_invasion_begins : public ScriptedAI
default:
break;
}
DoMeleeAttackIfReady();
}
private:
@@ -1110,8 +1108,6 @@ struct npc_inquisitor_baleful_molten_shore : public ScriptedAI
break;
}
}
DoMeleeAttackIfReady();
}
private: