pet attack and bot target selection

This commit is contained in:
Yunfan Li
2023-05-28 10:55:56 +08:00
parent 1d276732e2
commit dc21fa9d41
8 changed files with 33 additions and 31 deletions

View File

@@ -17,7 +17,7 @@ class AttackAction : public MovementAction
bool Execute(Event event) override;
protected:
bool Attack(Unit* target);
bool Attack(Unit* target, bool with_pet = true);
};
class AttackMyTargetAction : public AttackAction