#include "botpch.h"
#include "../../playerbot.h"
#include "RunawayStrategy.h"

using namespace ai;


NextAction** RunawayStrategy::getDefaultActions()
{
    return NextAction::array(0, new NextAction("runaway", 50.0f), NULL);
}

void RunawayStrategy::InitTriggers(std::list<TriggerNode*> &triggers)
{
    triggers.push_back(new TriggerNode(
        "enemy too close for spell",
        NextAction::array(0, new NextAction("runaway", 50.0f), NULL)));
}
