Compare commits

..

No commits in common. "714bb6bca3c903b9abeaa66df7c89ebd981339e2" and "571735cd576db0bfbbf621c5576c36a88d460e03" have entirely different histories.

413 changed files with 483 additions and 481 deletions

View File

@ -161,7 +161,9 @@ void ShamanAoeStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
} }
else if (tab == SHAMAN_TAB_ENHANCEMENT) else if (tab == SHAMAN_TAB_ENHANCEMENT)
{ {
triggers.push_back(new TriggerNode("medium aoe",{ NextAction("fire nova", 23.0f), })); triggers.push_back(new TriggerNode("medium aoe",{ NextAction("magma totem", 24.0f),
NextAction("fire nova", 23.0f), }));
triggers.push_back(new TriggerNode("maelstrom weapon 5 and medium aoe", { NextAction("chain lightning", 22.0f), })); triggers.push_back(new TriggerNode("maelstrom weapon 5 and medium aoe", { NextAction("chain lightning", 22.0f), }));
triggers.push_back(new TriggerNode("maelstrom weapon 4 and medium aoe", { NextAction("chain lightning", 21.0f), })); triggers.push_back(new TriggerNode("maelstrom weapon 4 and medium aoe", { NextAction("chain lightning", 21.0f), }));
triggers.push_back(new TriggerNode("enemy within melee", { NextAction("fire nova", 5.1f), })); triggers.push_back(new TriggerNode("enemy within melee", { NextAction("fire nova", 5.1f), }));

View File

@ -1,7 +1,7 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "AiFactory.h" #include "AiFactory.h"
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
#include "ACActions.h" #include "AuchenaiCryptsActions.h"
// Shirrak the Dead Watcher // Shirrak the Dead Watcher

View File

@ -3,7 +3,7 @@
#include "AttackAction.h" #include "AttackAction.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
// Shirrak the Dead Watcher // Shirrak the Dead Watcher

View File

@ -3,7 +3,7 @@
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "Action.h" #include "Action.h"
#include "ACActions.h" #include "AuchenaiCryptsActions.h"
class TbcDungeonAuchenaiCryptsActionContext : public NamedObjectContext<Action> class TbcDungeonAuchenaiCryptsActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "TriggerContext.h" #include "TriggerContext.h"
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
class TbcDungeonAuchenaiCryptsTriggerContext : public NamedObjectContext<Trigger> class TbcDungeonAuchenaiCryptsTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,6 +1,6 @@
#include "ACMultipliers.h" #include "AuchenaiCryptsMultipliers.h"
#include "ACActions.h" #include "AuchenaiCryptsActions.h"
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "ReachTargetActions.h" #include "ReachTargetActions.h"
#include "FollowActions.h" #include "FollowActions.h"

View File

@ -1,6 +1,6 @@
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
#include "ACStrategy.h" #include "AuchenaiCryptsStrategy.h"
#include "ACMultipliers.h" #include "AuchenaiCryptsMultipliers.h"
void TbcDungeonAuchenaiCryptsStrategy::InitTriggers(std::vector<TriggerNode*>& triggers) void TbcDungeonAuchenaiCryptsStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "ACTriggers.h" #include "AuchenaiCryptsTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "ANActions.h" #include "AzjolNerubActions.h"
bool AttackWebWrapAction::isUseful() { return !botAI->IsHeal(bot); } bool AttackWebWrapAction::isUseful() { return !botAI->IsHeal(bot); }
bool AttackWebWrapAction::Execute(Event /*event*/) bool AttackWebWrapAction::Execute(Event /*event*/)

View File

@ -5,7 +5,7 @@
#include "AttackAction.h" #include "AttackAction.h"
#include "PlayerbotAI.h" #include "PlayerbotAI.h"
#include "Playerbots.h" #include "Playerbots.h"
#include "ANTriggers.h" #include "AzjolNerubTriggers.h"
class AttackWebWrapAction : public AttackAction class AttackWebWrapAction : public AttackAction
{ {

View File

@ -3,7 +3,7 @@
#include "Action.h" #include "Action.h"
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "ANActions.h" #include "AzjolNerubActions.h"
class WotlkDungeonANActionContext : public NamedObjectContext<Action> class WotlkDungeonANActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "ANTriggers.h" #include "AzjolNerubTriggers.h"
class WotlkDungeonANTriggerContext : public NamedObjectContext<Trigger> class WotlkDungeonANTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,9 +1,9 @@
#include "ANMultipliers.h" #include "AzjolNerubMultipliers.h"
#include "ANActions.h" #include "AzjolNerubActions.h"
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "ChooseTargetActions.h" #include "ChooseTargetActions.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "ANTriggers.h" #include "AzjolNerubTriggers.h"
#include "Action.h" #include "Action.h"
float KrikthirMultiplier::GetValue(Action* action) float KrikthirMultiplier::GetValue(Action* action)

View File

@ -1,5 +1,5 @@
#include "ANStrategy.h" #include "AzjolNerubStrategy.h"
#include "ANMultipliers.h" #include "AzjolNerubMultipliers.h"
void WotlkDungeonANStrategy::InitTriggers(std::vector<TriggerNode*> &triggers) void WotlkDungeonANStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "ANTriggers.h" #include "AzjolNerubTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "CoSActions.h" #include "CullingOfStratholmeActions.h"
bool ExplodeGhoulSpreadAction::Execute(Event /*event*/) bool ExplodeGhoulSpreadAction::Execute(Event /*event*/)
{ {

View File

@ -6,7 +6,7 @@
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "PlayerbotAI.h" #include "PlayerbotAI.h"
#include "Playerbots.h" #include "Playerbots.h"
#include "CoSTriggers.h" #include "CullingOfStratholmeTriggers.h"
class ExplodeGhoulSpreadAction : public MovementAction class ExplodeGhoulSpreadAction : public MovementAction
{ {

View File

@ -3,7 +3,7 @@
#include "Action.h" #include "Action.h"
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "CoSActions.h" #include "CullingOfStratholmeActions.h"
class WotlkDungeonCoSActionContext : public NamedObjectContext<Action> class WotlkDungeonCoSActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "CoSTriggers.h" #include "CullingOfStratholmeTriggers.h"
class WotlkDungeonCoSTriggerContext : public NamedObjectContext<Trigger> class WotlkDungeonCoSTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,9 +1,9 @@
#include "CoSMultipliers.h" #include "CullingOfStratholmeMultipliers.h"
#include "CoSActions.h" #include "CullingOfStratholmeActions.h"
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "ChooseTargetActions.h" #include "ChooseTargetActions.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "CoSTriggers.h" #include "CullingOfStratholmeTriggers.h"
#include "Action.h" #include "Action.h"
float EpochMultiplier::GetValue(Action* action) float EpochMultiplier::GetValue(Action* action)

View File

@ -1,5 +1,5 @@
#include "CoSStrategy.h" #include "CullingOfStratholmeStrategy.h"
#include "CoSMultipliers.h" #include "CullingOfStratholmeMultipliers.h"
void WotlkDungeonCoSStrategy::InitTriggers(std::vector<TriggerNode*> &triggers) void WotlkDungeonCoSStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "CoSTriggers.h" #include "CullingOfStratholmeTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "DTKActions.h" #include "DrakTharonKeepActions.h"
bool CorpseExplodeSpreadAction::Execute(Event /*event*/) bool CorpseExplodeSpreadAction::Execute(Event /*event*/)
{ {

View File

@ -6,7 +6,7 @@
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "PlayerbotAI.h" #include "PlayerbotAI.h"
#include "Playerbots.h" #include "Playerbots.h"
#include "DTKTriggers.h" #include "DrakTharonKeepTriggers.h"
const Position NOVOS_PARTY_POSITION = Position(-378.852f, -760.349f, 28.587f); const Position NOVOS_PARTY_POSITION = Position(-378.852f, -760.349f, 28.587f);

View File

@ -3,7 +3,7 @@
#include "Action.h" #include "Action.h"
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "DTKActions.h" #include "DrakTharonKeepActions.h"
class WotlkDungeonDTKActionContext : public NamedObjectContext<Action> class WotlkDungeonDTKActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "DTKTriggers.h" #include "DrakTharonKeepTriggers.h"
class WotlkDungeonDTKTriggerContext : public NamedObjectContext<Trigger> class WotlkDungeonDTKTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,9 +1,9 @@
#include "DTKMultipliers.h" #include "DrakTharonKeepMultipliers.h"
#include "DTKActions.h" #include "DrakTharonKeepActions.h"
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "ChooseTargetActions.h" #include "ChooseTargetActions.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "DTKTriggers.h" #include "DrakTharonKeepTriggers.h"
#include "Action.h" #include "Action.h"
float NovosMultiplier::GetValue(Action* action) float NovosMultiplier::GetValue(Action* action)

View File

@ -1,5 +1,5 @@
#include "DTKStrategy.h" #include "DrakTharonKeepStrategy.h"
#include "DTKMultipliers.h" #include "DrakTharonKeepMultipliers.h"
void WotlkDungeonDTKStrategy::InitTriggers(std::vector<TriggerNode*> &triggers) void WotlkDungeonDTKStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "DTKTriggers.h" #include "DrakTharonKeepTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

View File

@ -2,22 +2,22 @@
#define _PLAYERBOT_DUNGEONSTRATEGYCONTEXT_H #define _PLAYERBOT_DUNGEONSTRATEGYCONTEXT_H
#include "Strategy.h" #include "Strategy.h"
#include "ACStrategy.h" #include "AuchenaiCrypts/Strategy/AuchenaiCryptsStrategy.h"
#include "UKStrategy.h" #include "UtgardeKeep/Strategy/UtgardeKeepStrategy.h"
#include "NexStrategy.h" #include "Nexus/Strategy/NexusStrategy.h"
#include "ANStrategy.h" #include "AzjolNerub/Strategy/AzjolNerubStrategy.h"
#include "AKStrategy.h" #include "OldKingdom/Strategy/OldKingdomStrategy.h"
#include "DTKStrategy.h" #include "DraktharonKeep/Strategy/DrakTharonKeepStrategy.h"
#include "VHStrategy.h" #include "VioletHold/Strategy/VioletHoldStrategy.h"
#include "GDStrategy.h" #include "Gundrak/Strategy/GundrakStrategy.h"
#include "HoSStrategy.h" #include "HallsOfStone/Strategy/HallsOfStoneStrategy.h"
#include "HoLStrategy.h" #include "HallsOfLightning/Strategy/HallsOfLightningStrategy.h"
#include "OCStrategy.h" #include "Oculus/Strategy/OculusStrategy.h"
#include "UPStrategy.h" #include "UtgardePinnacle/Strategy/UtgardePinnacleStrategy.h"
#include "CoSStrategy.h" #include "CullingOfStratholme/Strategy/CullingOfStratholmeStrategy.h"
#include "FoSStrategy.h" #include "ForgeOfSouls/Strategy/ForgeOfSoulsStrategy.h"
#include "PoSStrategy.h" #include "PitOfSaron/Strategy/PitOfSaronStrategy.h"
#include "TOCStrategy.h" #include "TrialOfTheChampion/Strategy/TrialOfTheChampionStrategy.h"
/* /*
Full list/TODO: Full list/TODO:

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "FoSActions.h" #include "ForgeOfSoulsActions.h"
bool MoveFromBronjahmAction::Execute(Event /*event*/) bool MoveFromBronjahmAction::Execute(Event /*event*/)
{ {

View File

@ -5,7 +5,7 @@
#include "AttackAction.h" #include "AttackAction.h"
#include "PlayerbotAI.h" #include "PlayerbotAI.h"
#include "Playerbots.h" #include "Playerbots.h"
#include "FoSTriggers.h" #include "ForgeOfSoulsTriggers.h"
const Position BRONJAHM_TANK_POSITION = Position(5297.920f, 2506.698f, 686.068f); const Position BRONJAHM_TANK_POSITION = Position(5297.920f, 2506.698f, 686.068f);

View File

@ -3,7 +3,7 @@
#include "Action.h" #include "Action.h"
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "FoSActions.h" #include "ForgeOfSoulsActions.h"
class WotlkDungeonFoSActionContext : public NamedObjectContext<Action> class WotlkDungeonFoSActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "FoSTriggers.h" #include "ForgeOfSoulsTriggers.h"
class WotlkDungeonFoSTriggerContext : public NamedObjectContext<Trigger> class WotlkDungeonFoSTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,10 +1,10 @@
#include "FoSMultipliers.h" #include "ForgeOfSoulsMultipliers.h"
#include "FoSActions.h" #include "ForgeOfSoulsActions.h"
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "ChooseTargetActions.h" #include "ChooseTargetActions.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "FoSTriggers.h" #include "ForgeOfSoulsTriggers.h"
#include "FoSActions.h" #include "ForgeOfSoulsActions.h"
float BronjahmMultiplier::GetValue(Action* action) { float BronjahmMultiplier::GetValue(Action* action) {
Unit* boss = AI_VALUE2(Unit *, "find target", "bronjahm"); Unit* boss = AI_VALUE2(Unit *, "find target", "bronjahm");

View File

@ -1,5 +1,5 @@
#include "FoSStrategy.h" #include "ForgeOfSoulsStrategy.h"
#include "FoSMultipliers.h" #include "ForgeOfSoulsMultipliers.h"
void WotlkDungeonFoSStrategy::InitTriggers(std::vector<TriggerNode*>& triggers) void WotlkDungeonFoSStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "FoSTriggers.h" #include "ForgeOfSoulsTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "GDActions.h" #include "GundrakActions.h"
bool AvoidPoisonNovaAction::Execute(Event /*event*/) bool AvoidPoisonNovaAction::Execute(Event /*event*/)
{ {

View File

@ -5,7 +5,7 @@
#include "AttackAction.h" #include "AttackAction.h"
#include "PlayerbotAI.h" #include "PlayerbotAI.h"
#include "Playerbots.h" #include "Playerbots.h"
#include "GDTriggers.h" #include "GundrakTriggers.h"
class AvoidPoisonNovaAction : public MovementAction class AvoidPoisonNovaAction : public MovementAction
{ {

View File

@ -3,7 +3,7 @@
#include "Action.h" #include "Action.h"
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "GDActions.h" #include "GundrakActions.h"
class WotlkDungeonGDActionContext : public NamedObjectContext<Action> class WotlkDungeonGDActionContext : public NamedObjectContext<Action>
{ {

View File

@ -3,7 +3,7 @@
#include "NamedObjectContext.h" #include "NamedObjectContext.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"
#include "GDTriggers.h" #include "GundrakTriggers.h"
class WotlkDungeonGDTriggerContext : public NamedObjectContext<Trigger> class WotlkDungeonGDTriggerContext : public NamedObjectContext<Trigger>
{ {

View File

@ -1,9 +1,9 @@
#include "GDMultipliers.h" #include "GundrakMultipliers.h"
#include "GDActions.h" #include "GundrakActions.h"
#include "GenericSpellActions.h" #include "GenericSpellActions.h"
#include "ChooseTargetActions.h" #include "ChooseTargetActions.h"
#include "MovementActions.h" #include "MovementActions.h"
#include "GDTriggers.h" #include "GundrakTriggers.h"
#include "Action.h" #include "Action.h"
float SladranMultiplier::GetValue(Action* action) float SladranMultiplier::GetValue(Action* action)

View File

@ -1,5 +1,5 @@
#include "GDStrategy.h" #include "GundrakStrategy.h"
#include "GDMultipliers.h" #include "GundrakMultipliers.h"
void WotlkDungeonGDStrategy::InitTriggers(std::vector<TriggerNode*> &triggers) void WotlkDungeonGDStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
{ {

View File

@ -1,5 +1,5 @@
#include "Playerbots.h" #include "Playerbots.h"
#include "GDTriggers.h" #include "GundrakTriggers.h"
#include "AiObject.h" #include "AiObject.h"
#include "AiObjectContext.h" #include "AiObjectContext.h"

Some files were not shown because too many files have changed in this diff Show More