Files
mod-playerbots/src/Scenario/DungeonAi/HallsOfStone/HallsOfStoneActionContext.h
bashermens 9f54d7e702 Removed the expansion folder from dungeons (#2027)
In order to make consistent with raids but also to shorten max used
length directory for windows builds
2026-01-17 21:55:08 +01:00

21 lines
736 B
C++

#ifndef _PLAYERBOT_WOTLKDUNGEONHOSACTIONCONTEXT_H
#define _PLAYERBOT_WOTLKDUNGEONHOSACTIONCONTEXT_H
#include "Action.h"
#include "NamedObjectContext.h"
#include "HallsOfStoneActions.h"
class WotlkDungeonHoSActionContext : public NamedObjectContext<Action>
{
public:
WotlkDungeonHoSActionContext() {
creators["shatter spread"] = &WotlkDungeonHoSActionContext::shatter_spread;
creators["avoid lightning ring"] = &WotlkDungeonHoSActionContext::avoid_lightning_ring;
}
private:
static Action* shatter_spread(PlayerbotAI* ai) { return new ShatterSpreadAction(ai); }
static Action* avoid_lightning_ring(PlayerbotAI* ai) { return new AvoidLightningRingAction(ai); }
};
#endif