mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-29 16:33:46 +00:00
23 lines
897 B
C++
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
|