[Bots] Fix Bards not casting (#4638)

This commit is contained in:
nytmyr
2025-02-03 14:40:04 -06:00
committed by GitHub
parent aa423e398a
commit e3ab90695f
2 changed files with 2 additions and 2 deletions
+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;
}
}