chore(value): attackers value

This commit is contained in:
Yunfan Li
2023-06-13 01:02:37 +08:00
parent c9367debeb
commit 209fdbd6b5
4 changed files with 30 additions and 4 deletions

View File

@@ -25,7 +25,8 @@ class AttackersValue : public ObjectGuidListCalculatedValue
private:
void AddAttackersOf(Group* group, std::set<Unit*>& targets);
void AddAttackersOf(Player* player, std::set<Unit*>& targets);
void RemoveNonThreating(std::set<Unit*>& targets);
void RemoveNonThreating(std::set<Unit*>& targets);
bool hasRealThreat(Unit* attacker);
};
class PossibleAddsValue : public BoolCalculatedValue