anubrekhan strategy port

This commit is contained in:
Yunfan Li
2023-06-22 10:39:22 +08:00
parent 209fdbd6b5
commit bf6b8db4e2
10 changed files with 182 additions and 161 deletions

View File

@@ -1394,6 +1394,11 @@ bool PlayerbotAI::IsMainTank(Player* player)
return false; return false;
} }
bool PlayerbotAI::IsAssistTank(Player* player)
{
return IsTank(player) && !IsMainTank(player);
}
namespace acore namespace acore
{ {
class UnitByGuidInRangeCheck class UnitByGuidInRangeCheck
@@ -3892,4 +3897,17 @@ bool PlayerbotAI::IsInRealGuild()
void PlayerbotAI::QueueChatResponse(uint8 msgtype, ObjectGuid guid1, ObjectGuid guid2, std::string message, std::string chanName, std::string name) void PlayerbotAI::QueueChatResponse(uint8 msgtype, ObjectGuid guid1, ObjectGuid guid2, std::string message, std::string chanName, std::string name)
{ {
chatReplies.push(ChatQueuedReply(msgtype, guid1.GetCounter(), guid2.GetCounter(), message, chanName, name, time(nullptr) + urand(inCombat ? 10 : 5, inCombat ? 25 : 15))); chatReplies.push(ChatQueuedReply(msgtype, guid1.GetCounter(), guid2.GetCounter(), message, chanName, name, time(nullptr) + urand(inCombat ? 10 : 5, inCombat ? 25 : 15)));
}
bool PlayerbotAI::EqualLowercaseName(std::string s1, std::string s2)
{
if (s1.length() != s2.length()) {
return false;
}
for (int i = 0; i < s1.length(); i++) {
if (tolower(s1[i]) != tolower(s2[i])) {
return false;
}
}
return true;
} }

View File

@@ -332,6 +332,7 @@ class PlayerbotAI : public PlayerbotAIBase
bool IsHeal(Player* player); bool IsHeal(Player* player);
bool IsRanged(Player* player); bool IsRanged(Player* player);
bool IsMainTank(Player* player); bool IsMainTank(Player* player);
bool IsAssistTank(Player* player);
Creature* GetCreature(ObjectGuid guid); Creature* GetCreature(ObjectGuid guid);
Unit* GetUnit(ObjectGuid guid); Unit* GetUnit(ObjectGuid guid);
Player* GetPlayer(ObjectGuid guid); Player* GetPlayer(ObjectGuid guid);
@@ -433,10 +434,10 @@ class PlayerbotAI : public PlayerbotAIBase
bool CanMove(); bool CanMove();
bool IsInRealGuild(); bool IsInRealGuild();
static std::vector<std::string> dispel_whitelist; static std::vector<std::string> dispel_whitelist;
bool EqualLowercaseName(std::string s1, std::string s2);
private: private:
void _fillGearScoreData(Player* player, Item* item, std::vector<uint32>* gearScore, uint32& twoHandScore); void _fillGearScoreData(Player* player, Item* item, std::vector<uint32>* gearScore, uint32& twoHandScore);
bool IsTellAllowed(PlayerbotSecurityLevel securityLevel = PLAYERBOT_SECURITY_ALLOW_ALL); bool IsTellAllowed(PlayerbotSecurityLevel securityLevel = PLAYERBOT_SECURITY_ALLOW_ALL);
protected: protected:
Player* bot; Player* bot;
Player* master; Player* master;

View File

@@ -250,8 +250,8 @@ class ActionContext : public NamedObjectContext<Action>
// creators["kel'thuzad choose target"] = &ActionContext::kelthuzad_choose_target; // creators["kel'thuzad choose target"] = &ActionContext::kelthuzad_choose_target;
// creators["kel'thuzad position"] = &ActionContext::kelthuzad_position; // creators["kel'thuzad position"] = &ActionContext::kelthuzad_position;
// creators["anub'rekhan choose target"] = &ActionContext::anubrekhan_choose_target; creators["anub'rekhan choose target"] = &ActionContext::anubrekhan_choose_target;
// creators["anub'rekhan position"] = &ActionContext::anubrekhan_position; creators["anub'rekhan position"] = &ActionContext::anubrekhan_position;
// creators["gluth choose target"] = &ActionContext::gluth_choose_target; // creators["gluth choose target"] = &ActionContext::gluth_choose_target;
// creators["gluth position"] = &ActionContext::gluth_position; // creators["gluth position"] = &ActionContext::gluth_position;
@@ -441,8 +441,8 @@ class ActionContext : public NamedObjectContext<Action>
// static Action* sapphiron_avoid_chill(PlayerbotAI* ai) { return new SapphironAvoidChillAction(ai); } // static Action* sapphiron_avoid_chill(PlayerbotAI* ai) { return new SapphironAvoidChillAction(ai); }
// static Action* kelthuzad_choose_target(PlayerbotAI* ai) { return new KelthuzadChooseTargetAction(ai); } // static Action* kelthuzad_choose_target(PlayerbotAI* ai) { return new KelthuzadChooseTargetAction(ai); }
// static Action* kelthuzad_position(PlayerbotAI* ai) { return new KelthuzadPositionAction(ai); } // static Action* kelthuzad_position(PlayerbotAI* ai) { return new KelthuzadPositionAction(ai); }
// static Action* anubrekhan_choose_target(PlayerbotAI* ai) { return new AnubrekhanChooseTargetAction(ai); } static Action* anubrekhan_choose_target(PlayerbotAI* ai) { return new AnubrekhanChooseTargetAction(ai); }
// static Action* anubrekhan_position(PlayerbotAI* ai) { return new AnubrekhanPositionAction(ai); } static Action* anubrekhan_position(PlayerbotAI* ai) { return new AnubrekhanPositionAction(ai); }
// static Action* gluth_choose_target(PlayerbotAI* ai) { return new GluthChooseTargetAction(ai); } // static Action* gluth_choose_target(PlayerbotAI* ai) { return new GluthChooseTargetAction(ai); }
// static Action* gluth_position(PlayerbotAI* ai) { return new GluthPositionAction(ai); } // static Action* gluth_position(PlayerbotAI* ai) { return new GluthPositionAction(ai); }
// static Action* gluth_slowdown(PlayerbotAI* ai) { return new GluthSlowdownAction(ai); } // static Action* gluth_slowdown(PlayerbotAI* ai) { return new GluthSlowdownAction(ai); }

View File

@@ -5,6 +5,7 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_heigan.h" #include "../../../../src/server/scripts/Northrend/Naxxramas/boss_heigan.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_grobbulus.h" #include "../../../../src/server/scripts/Northrend/Naxxramas/boss_grobbulus.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.h"
using namespace std; using namespace std;
@@ -852,92 +853,86 @@ bool HeiganDanceRangedAction::Execute(Event event) {
// return false; // return false;
// } // }
// bool AnubrekhanChooseTargetAction::Execute(Event event) bool AnubrekhanChooseTargetAction::Execute(Event event)
// { {
// Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan"); Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan");
// if (!boss) { if (!boss) {
// return false; return false;
// } }
// BossAI* boss_ai = dynamic_cast<BossAI*>(boss->GetAI()); BossAI* boss_ai = dynamic_cast<BossAI*>(boss->GetAI());
// EventMap* eventMap = boss_botAI->GetEvents(); GuidVector attackers = context->GetValue<GuidVector >("attackers")->Get();
// list<ObjectGuid> attackers = context->GetValue<list<ObjectGuid> >("attackers")->Get(); Unit* target = NULL;
// Unit* target = NULL; Unit *target_boss = NULL;
// Unit *target_boss = NULL; vector<Unit*> target_guards;
// vector<Unit*> target_guards; for (ObjectGuid const guid : attackers)
// for (list<ObjectGuid>::iterator i = attackers.begin(); i != attackers.end(); ++i) {
// { Unit* unit = botAI->GetUnit(guid);
// Unit* unit = botAI->GetUnit(*i); if (!unit)
// if (!unit) continue;
// continue; if (botAI->EqualLowercaseName(unit->GetName(), "crypt guard")) {
// if (botAI->EqualLowercaseName(unit->GetName(), "crypt guard")) { target_guards.push_back(unit);
// target_guards.push_back(unit); }
// // target_guard = unit; if (botAI->EqualLowercaseName(unit->GetName(), "anub'rekhan")) {
// } target_boss = unit;
// if (botAI->EqualLowercaseName(unit->GetName(), "anub'rekhan")) { }
// target_boss = unit; }
// } if (botAI->IsMainTank(bot)) {
// } target = target_boss;
// // vector<Unit*> targets; } else {
// if (botAI->IsMainTank(bot)) { if (target_guards.size() == 0) {
// target = target_boss; target = target_boss;
// } else { } else {
// if (target_guards.size() == 0) { if (botAI->IsAssistTank(bot)) {
// target = target_boss; for (Unit* t : target_guards) {
// } else { if (target == NULL || (target->GetVictim() && target->GetVictim()->ToPlayer() && botAI->IsTank(target->GetVictim()->ToPlayer()))) {
// if (botAI->IsAssistTank(bot)) { target = t;
// for (Unit* t : target_guards) { }
// if (target == NULL || (target->GetVictim() && target->GetVictim()->ToPlayer() && botAI->IsTank(target->GetVictim()->ToPlayer()))) { }
// target = t; } else {
// } for (Unit* t : target_guards) {
// } if (target == NULL || target->GetHealthPct() > t->GetHealthPct()) {
// } else { target = t;
// for (Unit* t : target_guards) { }
// if (target == NULL || target->GetHealthPct() > t->GetHealthPct()) { }
// target = t; }
// } }
// } }
// } if (context->GetValue<Unit*>("current target")->Get() == target) {
// } return false;
// } }
// if (context->GetValue<Unit*>("current target")->Get() == target) { return Attack(target);
// return false; }
// }
// // if (target) {
// // bot->Yell("Let\'s attack " + target->GetName(), LANG_UNIVERSAL);
// // }
// return Attack(target);
// }
// bool AnubrekhanPositionAction::Execute(Event event) bool AnubrekhanPositionAction::Execute(Event event)
// { {
// Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan"); Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan");
// if (!boss) { if (!boss) {
// return false; return false;
// } }
// BossAI* b_ai = dynamic_cast<BossAI*>(boss->GetAI()); boss_anubrekhan::boss_anubrekhanAI* boss_ai = dynamic_cast<boss_anubrekhan::boss_anubrekhanAI*>(boss->GetAI());
// if (!b_ai) { if (!boss_ai) {
// return false; return false;
// } }
// EventMap *eventMap = b_botAI->GetEvents(); EventMap *eventMap = &boss_ai->events;
// uint8 phase_mask = eventMap->GetPhaseMask(); uint32 locust = eventMap->GetNextEventTime(2);
// uint32 locust = eventMap->GetNextEventTime(2); uint32 timer = eventMap->GetTimer();
// uint32 timer = eventMap->GetTimer(); bool inPhase = botAI->HasAura("locust swarm", boss) || boss->GetCurrentSpell(CURRENT_GENERIC_SPELL);
// if (phase_mask == 2 || (locust && locust - timer <= 5000)) { if (inPhase || (locust && locust - timer <= 5000)) {
// if (botAI->IsMainTank(bot)) { if (botAI->IsMainTank(bot)) {
// uint32 nearest = FindNearestWaypoint(); uint32 nearest = FindNearestWaypoint();
// uint32 next_point; uint32 next_point;
// if (phase_mask == 2) { if (inPhase) {
// next_point = (nearest + 1) % intervals; next_point = (nearest + 1) % intervals;
// } else { } else {
// next_point = nearest; next_point = nearest;
// } }
// return MoveTo(bot->GetMapId(), waypoints[next_point].first, waypoints[next_point].second, bot->GetPositionZ()); return MoveTo(bot->GetMapId(), waypoints[next_point].first, waypoints[next_point].second, bot->GetPositionZ());
// } else { } else {
// return MoveInside(533, 3272.49f, -3476.27f, bot->GetPositionZ(), 3.0f); return MoveInside(533, 3272.49f, -3476.27f, bot->GetPositionZ(), 3.0f);
// } }
// } }
// return false; return false;
// } }
// bool GluthChooseTargetAction::Execute(Event event) // bool GluthChooseTargetAction::Execute(Event event)
// { // {

View File

@@ -267,19 +267,19 @@ protected:
// virtual bool Execute(Event event); // virtual bool Execute(Event event);
// }; // };
// class AnubrekhanChooseTargetAction : public AttackAction class AnubrekhanChooseTargetAction : public AttackAction
// { {
// public: public:
// AnubrekhanChooseTargetAction(PlayerbotAI* ai) : AttackAction(ai, "anub'rekhan choose target") {} AnubrekhanChooseTargetAction(PlayerbotAI* ai) : AttackAction(ai, "anub'rekhan choose target") {}
// virtual bool Execute(Event event); virtual bool Execute(Event event);
// }; };
// class AnubrekhanPositionAction : public RotateAroundTheCenterPointAction class AnubrekhanPositionAction : public RotateAroundTheCenterPointAction
// { {
// public: public:
// AnubrekhanPositionAction(PlayerbotAI* ai) : RotateAroundTheCenterPointAction(ai, "anub'rekhan position", 3272.49f, -3476.27f, 45.0f, 16) {} AnubrekhanPositionAction(PlayerbotAI* ai) : RotateAroundTheCenterPointAction(ai, "anub'rekhan position", 3272.49f, -3476.27f, 45.0f, 16) {}
// virtual bool Execute(Event event); virtual bool Execute(Event event);
// }; };
// class GluthChooseTargetAction : public AttackAction // class GluthChooseTargetAction : public AttackAction
// { // {

View File

@@ -18,6 +18,7 @@
#include "WarriorActions.h" #include "WarriorActions.h"
#include <string> #include <string>
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_heigan.h" #include "../../../../src/server/scripts/Northrend/Naxxramas/boss_heigan.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.h"
float HeiganDanceMultiplier::GetValue(Action* action) float HeiganDanceMultiplier::GetValue(Action* action)
{ {
@@ -206,27 +207,29 @@ float HeiganDanceMultiplier::GetValue(Action* action)
// return 1.0f; // return 1.0f;
// } // }
// float AnubrekhanGenericMultiplier::GetValue(Action* action) float AnubrekhanGenericMultiplier::GetValue(Action* action)
// { {
// Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan"); Unit* boss = AI_VALUE2(Unit*, "find target", "anub'rekhan");
// if (!boss) { if (!boss) {
// return 1.0f; return 1.0f;
// } }
// if ((dynamic_cast<AttackLeastHpTargetAction*>(action) || if (
// dynamic_cast<TankAssistAction*>(action) || // (dynamic_cast<AttackLeastHpTargetAction*>(action) ||
// dynamic_cast<FollowAction*>(action))) { // dynamic_cast<DpsAssistAction*>(action) ||
// return 0.0f; // dynamic_cast<TankAssistAction*>(action) ||
// } dynamic_cast<FollowAction*>(action)) {
// BossAI* boss_ai = dynamic_cast<BossAI*>(boss->GetAI()); return 0.0f;
// EventMap* eventMap = boss_botAI->GetEvents(); }
// uint32 curr_phase = eventMap->GetPhaseMask(); // BossAI* boss_ai = dynamic_cast<BossAI*>(boss->GetAI());
// if (curr_phase == 2) { // EventMap* eventMap = boss_ai->GetEvents();
// if (dynamic_cast<FleeAction*>(action)) { // uint32 curr_phase = eventMap->GetPhaseMask();
// return 0.0f; if (botAI->HasAura("locust swarm", boss)) {
// } if (dynamic_cast<FleeAction*>(action)) {
// } return 0.0f;
// return 1.0f; }
// } }
return 1.0f;
}
// float FourhorsemanGenericMultiplier::GetValue(Action* action) // float FourhorsemanGenericMultiplier::GetValue(Action* action)
// { // {
@@ -382,13 +385,13 @@ void RaidNaxxGenericStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
// new NextAction("kel'thuzad position", ACTION_RAID + 1), // new NextAction("kel'thuzad position", ACTION_RAID + 1),
// NULL))); // NULL)));
// // Anub'Rekhan // Anub'Rekhan
// triggers.push_back(new TriggerNode( triggers.push_back(new TriggerNode(
// "anub'rekhan", "anub'rekhan",
// NextAction::array(0, NextAction::array(0,
// new NextAction("anub'rekhan choose target", ACTION_RAID + 1), // new NextAction("anub'rekhan choose target", ACTION_RAID + 1),
// new NextAction("anub'rekhan position", ACTION_RAID + 1), new NextAction("anub'rekhan position", ACTION_RAID + 1),
// NULL))); NULL)));
// // Gluth // // Gluth
// triggers.push_back(new TriggerNode( // triggers.push_back(new TriggerNode(
@@ -420,7 +423,7 @@ void RaidNaxxGenericStrategy::InitMultipliers(std::vector<Multiplier*> &multipli
// multipliers.push_back(new SapphironGenericMultiplier(ai)); // multipliers.push_back(new SapphironGenericMultiplier(ai));
// multipliers.push_back(new InstructorRazuviousGenericMultiplier(ai)); // multipliers.push_back(new InstructorRazuviousGenericMultiplier(ai));
// multipliers.push_back(new KelthuzadGenericMultiplier(ai)); // multipliers.push_back(new KelthuzadGenericMultiplier(ai));
// multipliers.push_back(new AnubrekhanGenericMultiplier(ai)); multipliers.push_back(new AnubrekhanGenericMultiplier(botAI));
// multipliers.push_back(new FourhorsemanGenericMultiplier(ai)); // multipliers.push_back(new FourhorsemanGenericMultiplier(ai));
// multipliers.push_back(new GothikGenericMultiplier(ai)); // multipliers.push_back(new GothikGenericMultiplier(ai));
// multipliers.push_back(new GluthGenericMultiplier(ai)); // multipliers.push_back(new GluthGenericMultiplier(ai));

View File

@@ -59,14 +59,14 @@ public:
// virtual float GetValue(Action* action); // virtual float GetValue(Action* action);
// }; // };
// class AnubrekhanGenericMultiplier : public Multiplier class AnubrekhanGenericMultiplier : public Multiplier
// { {
// public: public:
// AnubrekhanGenericMultiplier(PlayerbotAI* ai) : Multiplier(ai, "anubrekhan generic") {} AnubrekhanGenericMultiplier(PlayerbotAI* ai) : Multiplier(ai, "anubrekhan generic") {}
// public: public:
// virtual float GetValue(Action* action); virtual float GetValue(Action* action);
// }; };
// class FourhorsemanGenericMultiplier : public Multiplier // class FourhorsemanGenericMultiplier : public Multiplier
// { // {

View File

@@ -42,21 +42,22 @@ bool BossEventTrigger<T>::IsActive()
return false; return false;
} }
// bool BossPhaseTrigger::IsActive() template<class T>
// { bool BossPhaseTrigger<T>::IsActive()
// Unit* boss = AI_VALUE2(Unit*, "find target", boss_name); {
// if (!boss) { Unit* boss = AI_VALUE2(Unit*, "find target", boss_name);
// return false; if (!boss) {
// } return false;
// if (this->phase_mask == 0) { }
// return true; if (this->phase_mask == 0) {
// } return true;
// BossAI* boss_ai = dynamic_cast<BossAI*>(boss->GetAI()); }
// EventMap* eventMap = boss_botAI->GetEvents(); T* boss_ai = dynamic_cast<T*>(boss->GetAI());
// uint8 phase_mask = eventMap->GetPhaseMask(); EventMap* eventMap = &boss_ai->events;
// // bot->Yell("phase mask detected: " + to_string(phase_mask) + " compare with " + to_string(this->phase_mask), LANG_UNIVERSAL); uint8 phase_mask = eventMap->GetPhaseMask();
// return phase_mask == this->phase_mask; // bot->Yell("phase mask detected: " + to_string(phase_mask) + " compare with " + to_string(this->phase_mask), LANG_UNIVERSAL);
// } return phase_mask == this->phase_mask;
}
bool GrobbulusCloudTrigger::IsActive() bool GrobbulusCloudTrigger::IsActive()
{ {
@@ -165,4 +166,5 @@ bool HeiganRangedTrigger::IsActive()
// return true; // return true;
// } // }
template bool BossEventTrigger<boss_grobbulus::boss_grobbulusAI>::IsActive(); template bool BossEventTrigger<boss_grobbulus::boss_grobbulusAI>::IsActive();
template bool BossPhaseTrigger<boss_anubrekhan::boss_anubrekhanAI>::IsActive();

View File

@@ -7,6 +7,7 @@
#include "PlayerbotAIConfig.h" #include "PlayerbotAIConfig.h"
#include "GenericTriggers.h" #include "GenericTriggers.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_grobbulus.h" #include "../../../../src/server/scripts/Northrend/Naxxramas/boss_grobbulus.h"
#include "../../../../src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.h"
using namespace std; using namespace std;
@@ -48,6 +49,7 @@ protected:
uint32 boss_entry, event_id, last_event_time; uint32 boss_entry, event_id, last_event_time;
}; };
template<class T>
class BossPhaseTrigger : public Trigger class BossPhaseTrigger : public Trigger
{ {
public: public:
@@ -172,11 +174,11 @@ public:
// KelthuzadTrigger(PlayerbotAI* ai) : BossPhaseTrigger(ai, "kel'thuzad", 0, "kel'thuzad trigger") {} // KelthuzadTrigger(PlayerbotAI* ai) : BossPhaseTrigger(ai, "kel'thuzad", 0, "kel'thuzad trigger") {}
// }; // };
// class AnubrekhanTrigger : public BossPhaseTrigger class AnubrekhanTrigger : public BossPhaseTrigger<boss_anubrekhan::boss_anubrekhanAI>
// { {
// public: public:
// AnubrekhanTrigger(PlayerbotAI* ai) : BossPhaseTrigger(ai, "anub'rekhan", 0, "anub'rekhan trigger") {} AnubrekhanTrigger(PlayerbotAI* ai) : BossPhaseTrigger(ai, "anub'rekhan", 0, "anub'rekhan trigger") {}
// }; };
// class KelthuzadPhaseTwoTrigger : public BossPhaseTrigger // class KelthuzadPhaseTwoTrigger : public BossPhaseTrigger
// { // {

View File

@@ -219,7 +219,7 @@ class TriggerContext : public NamedObjectContext<Trigger>
// creators["kel'thuzad"] = &TriggerContext::kelthuzad; // creators["kel'thuzad"] = &TriggerContext::kelthuzad;
// creators["kel'thuzad phase two"] = &TriggerContext::kelthuzad_phase_two; // creators["kel'thuzad phase two"] = &TriggerContext::kelthuzad_phase_two;
// creators["anub'rekhan"] = &TriggerContext::anubrekhan; creators["anub'rekhan"] = &TriggerContext::anubrekhan;
// creators["gluth"] = &TriggerContext::gluth; // creators["gluth"] = &TriggerContext::gluth;
// creators["gluth main tank mortal wound"] = &TriggerContext::gluth_main_tank_mortal_wound; // creators["gluth main tank mortal wound"] = &TriggerContext::gluth_main_tank_mortal_wound;
@@ -386,7 +386,7 @@ class TriggerContext : public NamedObjectContext<Trigger>
// static Trigger* sapphiron_ground_chill(PlayerbotAI* ai) { return new SapphironGroundChillTrigger(ai); } // static Trigger* sapphiron_ground_chill(PlayerbotAI* ai) { return new SapphironGroundChillTrigger(ai); }
// static Trigger* kelthuzad(PlayerbotAI* ai) { return new KelthuzadTrigger(ai); } // static Trigger* kelthuzad(PlayerbotAI* ai) { return new KelthuzadTrigger(ai); }
// static Trigger* kelthuzad_phase_two(PlayerbotAI* ai) { return new KelthuzadPhaseTwoTrigger(ai); } // static Trigger* kelthuzad_phase_two(PlayerbotAI* ai) { return new KelthuzadPhaseTwoTrigger(ai); }
// static Trigger* anubrekhan(PlayerbotAI* ai) { return new AnubrekhanTrigger(ai); } static Trigger* anubrekhan(PlayerbotAI* ai) { return new AnubrekhanTrigger(ai); }
// static Trigger* gluth(PlayerbotAI* ai) { return new GluthTrigger(ai); } // static Trigger* gluth(PlayerbotAI* ai) { return new GluthTrigger(ai); }
// static Trigger* gluth_main_tank_mortal_wound(PlayerbotAI* ai) { return new GluthMainTankMortalWoundTrigger(ai); } // static Trigger* gluth_main_tank_mortal_wound(PlayerbotAI* ai) { return new GluthMainTankMortalWoundTrigger(ai); }
// static Trigger* loatheb(PlayerbotAI* ai) { return new LoathebTrigger(ai); } // static Trigger* loatheb(PlayerbotAI* ai) { return new LoathebTrigger(ai); }