mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
attackers value
This commit is contained in:
@@ -23,9 +23,9 @@ class AttackersValue : public ObjectGuidListCalculatedValue
|
||||
static bool IsValidTarget(Unit* attacker, Player* bot);
|
||||
|
||||
private:
|
||||
void AddAttackersOf(Group* group, std::set<Unit*>& targets);
|
||||
void AddAttackersOf(Player* player, std::set<Unit*>& targets);
|
||||
void RemoveNonThreating(std::set<Unit*>& targets);
|
||||
void AddAttackersOf(Group* group, std::unordered_set<Unit*>& targets);
|
||||
void AddAttackersOf(Player* player, std::unordered_set<Unit*>& targets);
|
||||
void RemoveNonThreating(std::unordered_set<Unit*>& targets);
|
||||
bool hasRealThreat(Unit* attacker);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user