mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
16 lines
527 B
C++
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)));
|
|
}
|