Files
mod-playerbots/src/strategy/dungeons/wotlk/utgardepinnacle/UtgardePinnacleTriggers.h
Bobblybook c788e96828 UP and CoS dungeons
- 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)
2024-10-21 22:29:03 +11:00

40 lines
1.1 KiB
C++

#ifndef _PLAYERBOT_WOTLKDUNGEONUPTRIGGERS_H
#define _PLAYERBOT_WOTLKDUNGEONUPTRIGGERS_H
#include "Trigger.h"
#include "PlayerbotAIConfig.h"
#include "GenericTriggers.h"
#include "DungeonStrategyUtils.h"
enum UtgardePinnacleIDs
{
// Skadi the Ruthless
SPELL_FREEZING_CLOUD_N = 47579,
SPELL_FREEZING_CLOUD_H = 60020,
SPELL_FREEZING_CLOUD_BREATH = 47592,
NPC_BREATH_TRIGGER = 28351,
SPELL_SKADI_WHIRLWIND_N = 50228,
SPELL_SKADI_WHIRLWIND_H = 59322,
};
#define SPELL_FREEZING_CLOUD DUNGEON_MODE(bot, SPELL_FREEZING_CLOUD_N, SPELL_FREEZING_CLOUD_H)
#define SPELL_SKADI_WHIRLWIND DUNGEON_MODE(bot, SPELL_SKADI_WHIRLWIND_N, SPELL_SKADI_WHIRLWIND_H)
// const float SKADI_BREATH_CENTRELINE = -512.46875f;
class SkadiFreezingCloudTrigger : public Trigger
{
public:
SkadiFreezingCloudTrigger(PlayerbotAI* ai) : Trigger(ai, "skadi freezing cloud") {}
bool IsActive() override;
};
class SkadiWhirlwindTrigger : public Trigger
{
public:
SkadiWhirlwindTrigger(PlayerbotAI* ai) : Trigger(ai, "skadi whirlwind") {}
bool IsActive() override;
};
#endif