mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
shadow priest shoot
This commit is contained in:
@@ -17,7 +17,7 @@ NextAction** ShadowPriestStrategy::getDefaultActions()
|
||||
new NextAction("mind blast", 13.0f),
|
||||
// new NextAction("shadow word: death", 12.0f),
|
||||
new NextAction("mind flay", 11.0f),
|
||||
new NextAction("shoot", 10.0f),
|
||||
// new NextAction("shoot", 10.0f),
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ class ShadowPriestStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
|
||||
{
|
||||
creators["mind blast"] = &mind_blast;
|
||||
creators["dispersion"] = &dispersion;
|
||||
creators["mind flay"] = &mind_flay;
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -28,6 +29,13 @@ class ShadowPriestStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
|
||||
static ActionNode* mind_flay(PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode ("mind flay",
|
||||
/*P*/ nullptr,
|
||||
/*A*/ NextAction::array(0, new NextAction("shoot"), nullptr),
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
static ActionNode* dispersion(PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode ("dispersion",
|
||||
|
||||
Reference in New Issue
Block a user