Files
mod-playerbots/src/strategy/values/PartyMemberToHeal.h
2022-03-12 22:27:09 +01:00

34 lines
925 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_PARTYMEMBERTOHEAL_H
#define _PLAYERBOT_PARTYMEMBERTOHEAL_H
#include "PartyMemberValue.h"
class Pet;
class PlayerbotAI;
class Unit;
class PartyMemberToHeal : public PartyMemberValue
{
public:
PartyMemberToHeal(PlayerbotAI* botAI, std::string const name = "party member to heal") : PartyMemberValue(botAI, name) { }
protected:
Unit* Calculate() override;
bool Check(Unit* player) override;
};
class PartyMemberToProtect : public PartyMemberValue
{
public:
PartyMemberToProtect(PlayerbotAI* botAI, std::string const name = "party member to protect") : PartyMemberValue(botAI, name) { }
protected:
Unit* Calculate() override;
};
#endif