mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
Improve class spell and use trinket
This commit is contained in:
@@ -25,14 +25,18 @@ private:
|
||||
void RacialsStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
||||
{
|
||||
triggers.push_back(
|
||||
new TriggerNode("low health", NextAction::array(0, new NextAction("lifeblood", 71.0f), nullptr)));
|
||||
// triggers.push_back(new TriggerNode("medium aoe", NextAction::array(0, new NextAction("war stomp", 71.0f),
|
||||
// nullptr)));
|
||||
/*triggers.push_back(new TriggerNode("low health", NextAction::array(0, new NextAction("war stomp", 71.0f),
|
||||
* nullptr)));*/
|
||||
/*triggers.push_back(new TriggerNode("low mana", NextAction::array(0, new NextAction("arcane torrent",
|
||||
ACTION_EMERGENCY + 6), nullptr))); triggers.push_back(new TriggerNode("medium mana", NextAction::array(0, new
|
||||
NextAction("mana tap", ACTION_EMERGENCY + 6), nullptr)));*/
|
||||
new TriggerNode("low health", NextAction::array(0, new NextAction("lifeblood", ACTION_NORMAL + 5), nullptr)));
|
||||
triggers.push_back(
|
||||
new TriggerNode("medium aoe", NextAction::array(0, new NextAction("war stomp", ACTION_NORMAL + 5), nullptr)));
|
||||
triggers.push_back(new TriggerNode(
|
||||
"low mana", NextAction::array(0, new NextAction("arcane torrent", ACTION_NORMAL + 5), nullptr)));
|
||||
|
||||
triggers.push_back(new TriggerNode(
|
||||
"generic boost", NextAction::array(0, new NextAction("blood fury", ACTION_NORMAL + 5),
|
||||
new NextAction("berserking", ACTION_NORMAL + 5),
|
||||
new NextAction("use trinket", ACTION_NORMAL + 4),
|
||||
nullptr)));
|
||||
|
||||
}
|
||||
|
||||
RacialsStrategy::RacialsStrategy(PlayerbotAI* botAI) : Strategy(botAI)
|
||||
|
||||
Reference in New Issue
Block a user