mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-12-01 21:12:50 +08:00
dk presence
This commit is contained in:
@@ -10,7 +10,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
|||||||
public:
|
public:
|
||||||
FrostDKStrategyActionNodeFactory()
|
FrostDKStrategyActionNodeFactory()
|
||||||
{
|
{
|
||||||
//creators["icy touch"] = &icy_touch;
|
creators["icy touch"] = &icy_touch;
|
||||||
creators["obliterate"] = &obliterate;
|
creators["obliterate"] = &obliterate;
|
||||||
creators["howling blast"] = &howling_blast;
|
creators["howling blast"] = &howling_blast;
|
||||||
creators["frost strike"] = &frost_strike;
|
creators["frost strike"] = &frost_strike;
|
||||||
@@ -29,6 +29,14 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
static ActionNode* icy_touch([[maybe_unused]] PlayerbotAI* botAI)
|
||||||
|
{
|
||||||
|
return new ActionNode("icy touch",
|
||||||
|
/*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr),
|
||||||
|
/*A*/ nullptr,
|
||||||
|
/*C*/ nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
static ActionNode* obliterate([[maybe_unused]] PlayerbotAI* botAI)
|
static ActionNode* obliterate([[maybe_unused]] PlayerbotAI* botAI)
|
||||||
{
|
{
|
||||||
return new ActionNode("obliterate",
|
return new ActionNode("obliterate",
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
|||||||
//creators["anti magic zone"] = &anti_magic_zone;
|
//creators["anti magic zone"] = &anti_magic_zone;
|
||||||
//creators["ghoul frenzy"] = &ghoul_frenzy;
|
//creators["ghoul frenzy"] = &ghoul_frenzy;
|
||||||
creators["corpse explosion"] = &corpse_explosion;
|
creators["corpse explosion"] = &corpse_explosion;
|
||||||
|
creators["icy touch"] = &icy_touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -53,6 +54,13 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
|||||||
/*A*/ nullptr,
|
/*A*/ nullptr,
|
||||||
/*C*/ nullptr);
|
/*C*/ nullptr);
|
||||||
}
|
}
|
||||||
|
static ActionNode* icy_touch([[maybe_unused]] PlayerbotAI* botAI)
|
||||||
|
{
|
||||||
|
return new ActionNode("icy touch",
|
||||||
|
/*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr),
|
||||||
|
/*A*/ nullptr,
|
||||||
|
/*C*/ nullptr);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NextAction** UnholyDKStrategy::getDefaultActions()
|
NextAction** UnholyDKStrategy::getDefaultActions()
|
||||||
|
|||||||
Reference in New Issue
Block a user