mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-17 00:54:35 +00:00
58 lines
1.3 KiB
C++
58 lines
1.3 KiB
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_BOSSAURAACTION_H
|
|
#define _PLAYERBOT_BOSSAURAACTION_H
|
|
|
|
#include <string>
|
|
|
|
#include "Action.h"
|
|
|
|
class PlayerbotAI;
|
|
|
|
class BossFireResistanceAction : public Action
|
|
{
|
|
public:
|
|
BossFireResistanceAction(PlayerbotAI* botAI, std::string const bossName)
|
|
: Action(botAI, bossName + " fire resistance action"), bossName(bossName)
|
|
{
|
|
}
|
|
bool Execute(Event event) override;
|
|
bool isUseful() override;
|
|
|
|
private:
|
|
std::string bossName;
|
|
};
|
|
|
|
class BossFrostResistanceAction : public Action
|
|
{
|
|
public:
|
|
BossFrostResistanceAction(PlayerbotAI* botAI, std::string const bossName)
|
|
: Action(botAI, bossName + " frost resistance action"), bossName(bossName)
|
|
{
|
|
}
|
|
bool Execute(Event event) override;
|
|
bool isUseful() override;
|
|
|
|
private:
|
|
std::string bossName;
|
|
};
|
|
|
|
class BossNatureResistanceAction : public Action
|
|
{
|
|
public:
|
|
BossNatureResistanceAction(PlayerbotAI* botAI, std::string const bossName)
|
|
: Action(botAI, bossName + " nature resistance action"), bossName(bossName)
|
|
{
|
|
}
|
|
bool Execute(Event event) override;
|
|
bool isUseful() override;
|
|
|
|
private:
|
|
std::string bossName;
|
|
};
|
|
|
|
#endif
|