[Bots] Change how bots handle blind (#5104)

This commit is contained in:
nytmyr
2026-06-17 23:22:33 -05:00
committed by GitHub
parent 8fd083b95c
commit 36d6613a47
4 changed files with 28 additions and 1 deletions
+4
View File
@@ -1362,6 +1362,10 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
}
}
}
else if (IsBot()) {
currently_fleeing = true;
CastToBot()->BotProcessBlind();
}
else if (!IsClient()) {
CalculateNewFearpoint();
}