mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +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;
|
std::vector<Mob*> valid_spell_targets;
|
||||||
|
|
||||||
auto is_valid_target = [no_clients, no_bots](Mob* member) {
|
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; }
|
void SetBotTimers(std::vector<BotTimer> timers) { bot_timers = timers; }
|
||||||
|
|
||||||
// Targeting
|
// 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);
|
bool HasValidAETarget(Bot* caster, uint16 spell_id, uint16 spell_type, Mob* tar);
|
||||||
void SetHasLoS(bool has_los) { _hasLoS = has_los; }
|
void SetHasLoS(bool has_los) { _hasLoS = has_los; }
|
||||||
bool HasLoS() const { return _hasLoS; }
|
bool HasLoS() const { return _hasLoS; }
|
||||||
|
|||||||
Reference in New Issue
Block a user