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

This commit is contained in:
nytmyr authored and GitHub committed 2026-06-17 21:22:33 -07:00
1 parent 8fd083b95c
commit 36d6613a47
4 files changed
+28 -1

No files matched your search

+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();
}