mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Remove unused no_pets option from GatherSpellTargets
This commit is contained in:
+1
-1
@@ -12656,7 +12656,7 @@ void Bot::AssignBotSpellsToTypes(std::vector<BotSpells>& AIBot_spells, std::unor
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<Mob*> Bot::GatherSpellTargets(bool entire_raid, Mob* target, bool no_clients, bool no_bots, bool no_pets) {
|
||||
std::vector<Mob*> Bot::GatherSpellTargets(bool entire_raid, Mob* target, bool no_clients, bool no_bots) {
|
||||
std::vector<Mob*> valid_spell_targets;
|
||||
|
||||
auto is_valid_target = [no_clients, no_bots](Mob* member) {
|
||||
|
||||
+1
-1
@@ -537,7 +537,7 @@ public:
|
||||
void SetBotTimers(std::vector<BotTimer> timers) { bot_timers = timers; }
|
||||
|
||||
// Targeting
|
||||
std::vector<Mob*> GatherSpellTargets(bool entireRaid = false, Mob* target = nullptr, bool no_clients = false, bool no_bots = false, bool no_pets = false);
|
||||
std::vector<Mob*> GatherSpellTargets(bool entireRaid = false, Mob* target = nullptr, bool no_clients = false, bool no_bots = false);
|
||||
bool HasValidAETarget(Bot* caster, uint16 spell_id, uint16 spell_type, Mob* tar);
|
||||
void SetHasLoS(bool has_los) { _hasLoS = has_los; }
|
||||
bool HasLoS() const { return _hasLoS; }
|
||||
|
||||
Reference in New Issue
Block a user