diff --git a/src/strategy/raids/vaultofarchavon/RaidVoAActionContext.h b/src/strategy/raids/vaultofarchavon/RaidVoAActionContext.h index b2ac1fbd..42b0ae9e 100644 --- a/src/strategy/raids/vaultofarchavon/RaidVoAActionContext.h +++ b/src/strategy/raids/vaultofarchavon/RaidVoAActionContext.h @@ -20,6 +20,8 @@ public: creators["emalon lighting nova action"] = &RaidVoAActionContext::emalon_lighting_nova_action; creators["emalon overcharge action"] = &RaidVoAActionContext::emalon_overcharge_action; creators["emalon fall from floor action"] = &RaidVoAActionContext::emalon_fall_from_floor_action; + creators["emalon nature resistance action"] = &RaidVoAActionContext::emalon_nature_resistance_action; + creators["koralon fire resistance action"] = &RaidVoAActionContext::koralon_fire_resistance_action; } private: @@ -27,6 +29,8 @@ private: static Action* emalon_lighting_nova_action(PlayerbotAI* ai) { return new EmalonLightingNovaAction(ai); } static Action* emalon_overcharge_action(PlayerbotAI* ai) { return new EmalonOverchargeAction(ai); } static Action* emalon_fall_from_floor_action(PlayerbotAI* ai) { return new EmalonFallFromFloorAction(ai); } + static Action* emalon_nature_resistance_action(PlayerbotAI* ai) { return new BossNatureResistanceAction(ai, "emalon the storm watcher"); } + static Action* koralon_fire_resistance_action(PlayerbotAI* ai) { return new BossFireResistanceAction(ai, "koralon the flame watcher"); } }; #endif diff --git a/src/strategy/raids/vaultofarchavon/RaidVoAStrategy.cpp b/src/strategy/raids/vaultofarchavon/RaidVoAStrategy.cpp index 36469698..505cac1b 100644 --- a/src/strategy/raids/vaultofarchavon/RaidVoAStrategy.cpp +++ b/src/strategy/raids/vaultofarchavon/RaidVoAStrategy.cpp @@ -24,4 +24,16 @@ void RaidVoAStrategy::InitTriggers(std::vector& triggers) 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))); } diff --git a/src/strategy/raids/vaultofarchavon/RaidVoATriggerContext.h b/src/strategy/raids/vaultofarchavon/RaidVoATriggerContext.h index ee32c7fb..16ae0caf 100644 --- a/src/strategy/raids/vaultofarchavon/RaidVoATriggerContext.h +++ b/src/strategy/raids/vaultofarchavon/RaidVoATriggerContext.h @@ -19,6 +19,8 @@ public: creators["emalon lighting nova trigger"] = &RaidVoATriggerContext::emalon_lighting_nova_trigger; creators["emalon overcharge trigger"] = &RaidVoATriggerContext::emalon_overcharge_trigger; creators["emalon fall from floor trigger"] = &RaidVoATriggerContext::emalon_fall_from_floor_trigger; + creators["emalon nature resistance trigger"] = &RaidVoATriggerContext::emalon_nature_resistance_trigger; + creators["koralon fire resistance trigger"] = &RaidVoATriggerContext::koralon_fire_resistance_trigger; } private: @@ -26,6 +28,8 @@ private: static Trigger* emalon_lighting_nova_trigger(PlayerbotAI* ai) { return new EmalonLightingNovaTrigger(ai); } static Trigger* emalon_overcharge_trigger(PlayerbotAI* ai) { return new EmalonOverchargeTrigger(ai); } static Trigger* emalon_fall_from_floor_trigger(PlayerbotAI* ai) { return new EmalonFallFromFloorTrigger(ai); } + static Trigger* emalon_nature_resistance_trigger(PlayerbotAI* ai) { return new BossNatureResistanceTrigger(ai, "emalon the storm watcher"); } + static Trigger* koralon_fire_resistance_trigger(PlayerbotAI* ai) { return new BossFireResistanceTrigger(ai, "koralon the flame watcher"); } }; #endif