[Bots] Fix Bards not casting (#4638)

This commit is contained in:
nytmyr authored and GitHub committed 2025-02-03 15:40:04 -05:00
1 parent aa423e398a
commit e3ab90695f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2508,7 +2508,7 @@ void Bot::AI_Process()
if (!IsBotNonSpellFighter() && AI_HasSpells() && TryIdleChecks(fm_distance)) {
return;
}
if (!IsBotNonSpellFighter() && AI_HasSpells() && TryBardMovementCasts()) {
if (GetClass() == Class::Bard && AI_HasSpells() && TryBardMovementCasts()) {
return;
}
}