Files
mod-playerbots/src/Ai/Base/Value/PartyMemberToHeal.h

41 lines
928 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
* and/or modify it under version 3 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