Files
mod-playerbots/src/strategy/dungeons/wotlk/utgardepinnacle/UtgardePinnacleStrategy.cpp
kadeshar 85c7009fe1 Codestyle fix (#1797)
Warning:
Dont change this PR as draft to make it testable


DONT REVIEW UNTIL Codestyle C++ workflow dont pass
2025-11-05 21:10:17 +01:00

28 lines
1.0 KiB
C++

#include "UtgardePinnacleStrategy.h"
#include "UtgardePinnacleMultipliers.h"
void WotlkDungeonUPStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
{
// Svala Sorrowgrave
// Gortok Palehoof
// Skadi the Ruthless
// TODO: Harpoons launchable via GameObject. For now players should do them
triggers.push_back(new TriggerNode("freezing cloud",
NextAction::array(0, new NextAction("avoid freezing cloud", ACTION_RAID + 5), nullptr)));
triggers.push_back(new TriggerNode("skadi whirlwind",
NextAction::array(0, new NextAction("avoid skadi whirlwind", ACTION_RAID + 4), nullptr)));
// King Ymiron
// May need to avoid orb.. unclear if the generic avoid AoE does this well
triggers.push_back(new TriggerNode("ymiron bane",
NextAction::array(0, new NextAction("stop attack", ACTION_RAID + 5), nullptr)));
}
void WotlkDungeonUPStrategy::InitMultipliers(std::vector<Multiplier*> &multipliers)
{
multipliers.push_back(new SkadiMultiplier(botAI));
multipliers.push_back(new YmironMultiplier(botAI));
}