mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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)
40 lines
1.1 KiB
C++
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
|