mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 03:50:40 +00:00
[Cleanup] Control flow defaults missed in recent bot updates (#4817)
This commit is contained in:
+4
-2
@@ -10599,6 +10599,8 @@ BotSpell Bot::GetSpellByHealType(uint16 spell_type, Mob* tar) {
|
||||
return GetBestBotSpellForHealOverTime(this, tar, spell_type);
|
||||
case BotSpellTypes::GroupHoTHeals:
|
||||
return GetBestBotSpellForGroupHealOverTime(this, tar, spell_type);
|
||||
default:
|
||||
return BotSpell(); // Return an empty BotSpell if no valid spell type is found
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10650,7 +10652,7 @@ int Bot::GetDefaultSetting(uint16 setting_category, uint16 setting_type, uint8 s
|
||||
case BotSettingCategories::SpellTypeAnnounceCast:
|
||||
return GetDefaultSpellTypeAnnounceCast(setting_type, stance);
|
||||
default:
|
||||
break;
|
||||
return 0; // Default return value for unrecognized categories
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10689,7 +10691,7 @@ int Bot::GetSetting(uint16 setting_category, uint16 setting_type) {
|
||||
case BotSettingCategories::SpellTypeAnnounceCast:
|
||||
return GetSpellTypeAnnounceCast(setting_type);
|
||||
default:
|
||||
break;
|
||||
return 0; // Default return value for unrecognized categories
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user