Start adding missing scripts Part3

This commit is contained in:
hondacrx
2022-07-06 23:53:47 -04:00
parent 8cfd263fea
commit ba6c30add4
39 changed files with 5180 additions and 27 deletions
+1 -2
View File
@@ -585,9 +585,8 @@ namespace Game.AI
void ForceCombatStopForCreatureEntry(uint entry, float maxSearchRange = 250.0f, bool reset = true)
{
Log.outDebug(LogFilter.ScriptsAi, $"BossAI::ForceStopCombatForCreature: called on {me.GetGUID()}. Debug info: {me.GetDebugInfo()}");
List<Creature> creatures = new();
me.GetCreatureListWithEntryInGrid(creatures, entry, maxSearchRange);
List<Creature> creatures = me.GetCreatureListWithEntryInGrid(entry, maxSearchRange);
foreach (Creature creature in creatures)
{
creature.CombatStop(true);