[Bots] Fix buffs not overwriting lesser buffs (#4756)

This commit is contained in:
nytmyr authored and GitHub committed 2025-03-06 17:03:50 -05:00
1 parent da824d5178
commit 94553501ba
1 file changed
+1 -1
+1 -1
View File
@@ -9767,7 +9767,7 @@ bool Bot::CastChecks(uint16 spell_id, Mob* tar, uint16 spell_type, bool precheck
)
)
&&
tar->CanBuffStack(spell_id, GetLevel(), true) < 0
tar->CanBuffStack(spell_id, GetLevel(), false) < 0
) {
LogBotSpellChecksDetail("{} says, 'Cancelling cast of {} on {} due to !CanBuffStack.'", GetCleanName(), GetSpellName(spell_id), tar->GetCleanName());
return false;