Files
mod-playerbots/src/strategy/generic/KiteStrategy.cpp
2022-03-12 22:27:09 +01:00

16 lines
527 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#include "KiteStrategy.h"
#include "Playerbots.h"
KiteStrategy::KiteStrategy(PlayerbotAI* botAI) : Strategy(botAI)
{
}
void KiteStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
{
triggers.push_back(new TriggerNode("has aggro", NextAction::array(0, new NextAction("runaway", 51.0f), nullptr)));
}