mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 10:45:43 +00:00
34 lines
925 B
C++
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
|