mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-08 05:01:09 +00:00
[HOT FIX] MS build issues regarding folder / command lenght usage or rc.exe (#2038)
This commit is contained in:
75
src/Ai/World/Rpg/Strategy/NewRpgStrategy.cpp
Normal file
75
src/Ai/World/Rpg/Strategy/NewRpgStrategy.cpp
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
|
||||
* and/or modify it under version 3 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#include "NewRpgStrategy.h"
|
||||
|
||||
#include "Playerbots.h"
|
||||
|
||||
NewRpgStrategy::NewRpgStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
std::vector<NextAction> NewRpgStrategy::getDefaultActions()
|
||||
{
|
||||
// the releavance should be greater than grind
|
||||
return {
|
||||
NextAction("new rpg status update", 11.0f)
|
||||
};
|
||||
}
|
||||
|
||||
void NewRpgStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
||||
{
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"go grind status",
|
||||
{
|
||||
NextAction("new rpg go grind", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"go camp status",
|
||||
{
|
||||
NextAction("new rpg go camp", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"wander random status",
|
||||
{
|
||||
NextAction("new rpg wander random", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"wander npc status",
|
||||
{
|
||||
NextAction("new rpg wander npc", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"do quest status",
|
||||
{
|
||||
NextAction("new rpg do quest", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
triggers.push_back(
|
||||
new TriggerNode(
|
||||
"travel flight status",
|
||||
{
|
||||
NextAction("new rpg travel flight", 3.0f)
|
||||
}
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
void NewRpgStrategy::InitMultipliers(std::vector<Multiplier*>& multipliers)
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user