Files
mod-playerbots/src/strategy/dungeons/wotlk/azjolnerub/AzjolNerubActionContext.h
2024-10-07 01:32:00 +11:00

23 lines
897 B
C++

#ifndef _PLAYERBOT_WOTLKDUNGEONANACTIONCONTEXT_H
#define _PLAYERBOT_WOTLKDUNGEONANACTIONCONTEXT_H
#include "Action.h"
#include "NamedObjectContext.h"
#include "AzjolNerubActions.h"
class WotlkDungeonANActionContext : public NamedObjectContext<Action>
{
public:
WotlkDungeonANActionContext() {
creators["attack web wrap"] = &WotlkDungeonANActionContext::attack_web_wrap;
creators["krik'thir priority"] = &WotlkDungeonANActionContext::krikthir_priority;
creators["dodge pound"] = &WotlkDungeonANActionContext::dodge_pound;
}
private:
static Action* attack_web_wrap(PlayerbotAI* ai) { return new AttackWebWrapAction(ai); }
static Action* krikthir_priority(PlayerbotAI* ai) { return new WatchersTargetAction(ai); }
static Action* dodge_pound(PlayerbotAI* ai) { return new AnubarakDodgePoundAction(ai); }
};
#endif