mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-30 08:53:47 +00:00
OS+2 implemented. - Kill Vesperon before fight - Mark Main Tank in raid interface Offtank still needs a bit of work, and dps needs to stop running around once they're safe. But it's usable currently. I think this should probably work for OS+1 and OS+0 with no changes but I was more concerned about implementing +2.
33 lines
1.5 KiB
C++
33 lines
1.5 KiB
C++
#ifndef _PLAYERBOT_RAIDOSTRIGGERCONTEXT_H
|
|
#define _PLAYERBOT_RAIDOSTRIGGERCONTEXT_H
|
|
|
|
#include "AiObjectContext.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "RaidOsTriggers.h"
|
|
|
|
class RaidOsTriggerContext : public NamedObjectContext<Trigger>
|
|
{
|
|
public:
|
|
RaidOsTriggerContext()
|
|
{
|
|
creators["sartharion tank"] = &RaidOsTriggerContext::sartharion_tank;
|
|
creators["flame tsunami"] = &RaidOsTriggerContext::flame_tsunami;
|
|
creators["twilight fissure"] = &RaidOsTriggerContext::twilight_fissure;
|
|
creators["sartharion dps"] = &RaidOsTriggerContext::sartharion_dps;
|
|
creators["sartharion melee positioning"] = &RaidOsTriggerContext::sartharion_melee;
|
|
creators["twilight portal enter"] = &RaidOsTriggerContext::twilight_portal_enter;
|
|
creators["twilight portal exit"] = &RaidOsTriggerContext::twilight_portal_exit;
|
|
}
|
|
|
|
private:
|
|
static Trigger* sartharion_tank(PlayerbotAI* ai) { return new SartharionTankTrigger(ai); }
|
|
static Trigger* flame_tsunami(PlayerbotAI* ai) { return new FlameTsunamiTrigger(ai); }
|
|
static Trigger* twilight_fissure(PlayerbotAI* ai) { return new TwilightFissureTrigger(ai); }
|
|
static Trigger* sartharion_dps(PlayerbotAI* ai) { return new SartharionDpsTrigger(ai); }
|
|
static Trigger* sartharion_melee(PlayerbotAI* ai) { return new SartharionMeleePositioningTrigger(ai); }
|
|
static Trigger* twilight_portal_enter(PlayerbotAI* ai) { return new TwilightPortalEnterTrigger(ai); }
|
|
static Trigger* twilight_portal_exit(PlayerbotAI* ai) { return new TwilightPortalExitTrigger(ai); }
|
|
};
|
|
|
|
#endif
|