mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-03-09 02:20:30 +00:00
- Utgarde Pinnacle implementation
- Culling of Stratholme implementation
- Added additional value ("nearest hostile npcs") needed to expose some hidden trigger-type npc units (eg. frost breath on Skadi fight in UP)
21 lines
731 B
C++
21 lines
731 B
C++
#ifndef _PLAYERBOT_WOTLKDUNGEONCOSACTIONCONTEXT_H
|
|
#define _PLAYERBOT_WOTLKDUNGEONCOSACTIONCONTEXT_H
|
|
|
|
#include "Action.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "CullingOfStratholmeActions.h"
|
|
|
|
class WotlkDungeonCoSActionContext : public NamedObjectContext<Action>
|
|
{
|
|
public:
|
|
WotlkDungeonCoSActionContext() {
|
|
creators["explode ghoul spread"] = &WotlkDungeonCoSActionContext::explode_ghoul_spread;
|
|
creators["epoch stack"] = &WotlkDungeonCoSActionContext::epoch_stack;
|
|
}
|
|
private:
|
|
static Action* explode_ghoul_spread(PlayerbotAI* ai) { return new ExplodeGhoulSpreadAction(ai); }
|
|
static Action* epoch_stack(PlayerbotAI* ai) { return new EpochStackAction(ai); }
|
|
};
|
|
|
|
#endif
|