[Bots] Fix rule Bots:FinishBuffing (#4788)

This commit is contained in:
nytmyr authored and GitHub committed 2025-03-29 15:17:33 -05:00
1 parent deb298dda7
commit d554eb3423
4 files changed
+30 -4

No files matched your search

+16
View File
@@ -468,3 +468,19 @@ uint16 GetPetBotSpellType(uint16 spell_type) {
return spell_type;
}
bool IsBotBuffSpellType(uint16 spell_type) {
switch (spell_type) {
case BotSpellTypes::Buff:
case BotSpellTypes::PetBuffs:
case BotSpellTypes::ResistBuffs:
case BotSpellTypes::PetResistBuffs:
case BotSpellTypes::DamageShields:
case BotSpellTypes::PetDamageShields:
return true;
default:
return false;
}
return false;
}