mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-27 23:46:23 +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
748 B
C++
21 lines
748 B
C++
#ifndef _PLAYERBOT_WOTLKDUNGEONUPACTIONCONTEXT_H
|
|
#define _PLAYERBOT_WOTLKDUNGEONUPACTIONCONTEXT_H
|
|
|
|
#include "Action.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "UtgardePinnacleActions.h"
|
|
|
|
class WotlkDungeonUPActionContext : public NamedObjectContext<Action>
|
|
{
|
|
public:
|
|
WotlkDungeonUPActionContext() {
|
|
creators["avoid freezing cloud"] = &WotlkDungeonUPActionContext::avoid_freezing_cloud;
|
|
creators["avoid skadi whirlwind"] = &WotlkDungeonUPActionContext::avoid_whirlwind;
|
|
}
|
|
private:
|
|
static Action* avoid_freezing_cloud(PlayerbotAI* ai) { return new AvoidFreezingCloudAction(ai); }
|
|
static Action* avoid_whirlwind(PlayerbotAI* ai) { return new AvoidSkadiWhirlwindAction(ai); }
|
|
};
|
|
|
|
#endif
|