mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 10:45:43 +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)
26 lines
877 B
C++
26 lines
877 B
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
|
|
}
|
|
|
|
void WotlkDungeonUPStrategy::InitMultipliers(std::vector<Multiplier*> &multipliers)
|
|
{
|
|
multipliers.push_back(new SkadiMultiplier(botAI));
|
|
}
|