mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
#include "RaidVoAStrategy.h"
|
|
#include "Action.h"
|
|
#include "Strategy.h"
|
|
#include "Trigger.h"
|
|
#include "vector"
|
|
|
|
void RaidVoAStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
|
{
|
|
//
|
|
// Emalon the Storm Watcher
|
|
//
|
|
triggers.push_back(new TriggerNode(
|
|
"emalon lighting nova trigger",
|
|
NextAction::array(0, new NextAction("emalon lighting nova action", ACTION_RAID + 1), nullptr)));
|
|
|
|
triggers.push_back(new TriggerNode(
|
|
"emalon mark boss trigger",
|
|
NextAction::array(0, new NextAction("emalon mark boss action", ACTION_RAID), nullptr)));
|
|
|
|
triggers.push_back(new TriggerNode(
|
|
"emalon overcharge trigger",
|
|
NextAction::array(0, new NextAction("emalon overcharge action", ACTION_RAID), nullptr)));
|
|
|
|
triggers.push_back(new TriggerNode(
|
|
"emalon fall from floor trigger",
|
|
NextAction::array(0, new NextAction("emalon fall from floor action", ACTION_RAID), nullptr)));
|
|
|
|
triggers.push_back(new TriggerNode(
|
|
"emalon nature resistance trigger",
|
|
NextAction::array(0, new NextAction("emalon nature resistance action", ACTION_RAID), nullptr)));
|
|
|
|
//
|
|
// Koralon the Flame Watcher
|
|
//
|
|
|
|
triggers.push_back(new TriggerNode(
|
|
"koralon fire resistance trigger",
|
|
NextAction::array(0, new NextAction("koralon fire resistance action", ACTION_RAID), nullptr)));
|
|
}
|