mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
- Slad'ran (Gun'Drak): DPS will now kill snake wraps - King Ymiron (Utgarde Pinnacle): Bots will stop attack during Bane. This still needs work, sometimes if they are mid-cast they will still let it finish and blow everyone up
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
#ifndef _PLAYERBOT_WOTLKDUNGEONGDTRIGGERS_H
|
|
#define _PLAYERBOT_WOTLKDUNGEONGDTRIGGERS_H
|
|
|
|
#include "Trigger.h"
|
|
#include "PlayerbotAIConfig.h"
|
|
#include "GenericTriggers.h"
|
|
#include "DungeonStrategyUtils.h"
|
|
|
|
enum GundrakIDs
|
|
{
|
|
// Slad'ran
|
|
SPELL_POISON_NOVA_N = 55081,
|
|
SPELL_POISON_NOVA_H = 59842,
|
|
NPC_SNAKE_WRAP = 29742,
|
|
|
|
// Gal'darah
|
|
SPELL_WHIRLING_SLASH_N = 55250,
|
|
SPELL_WHIRLING_SLASH_H = 59824,
|
|
};
|
|
|
|
#define SPELL_POISON_NOVA DUNGEON_MODE(bot, SPELL_POISON_NOVA_N, SPELL_POISON_NOVA_H)
|
|
#define SPELL_WHIRLING_SLASH DUNGEON_MODE(bot, SPELL_WHIRLING_SLASH_N, SPELL_WHIRLING_SLASH_H)
|
|
|
|
class SladranPoisonNovaTrigger : public Trigger
|
|
{
|
|
public:
|
|
SladranPoisonNovaTrigger(PlayerbotAI* ai) : Trigger(ai, "slad'ran poison nova") {}
|
|
bool IsActive() override;
|
|
};
|
|
|
|
class SladranSnakeWrapTrigger : public Trigger
|
|
{
|
|
public:
|
|
SladranSnakeWrapTrigger(PlayerbotAI* ai) : Trigger(ai, "slad'ran snake wrap") {}
|
|
bool IsActive() override;
|
|
};
|
|
|
|
class GaldarahWhirlingSlashTrigger : public Trigger
|
|
{
|
|
public:
|
|
GaldarahWhirlingSlashTrigger(PlayerbotAI* ai) : Trigger(ai, "gal'darah whirling slash") {}
|
|
bool IsActive() override;
|
|
};
|
|
|
|
#endif
|