DK death and decay

This commit is contained in:
Yunfan Li
2024-04-08 23:30:15 +08:00
parent 65ad88154b
commit e11ea57dde

View File

@@ -33,7 +33,7 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
//creators["improved icy talons"] = &improved_icy_talons; boost party
//unholy
//creators["death and decay"] = &death_and_decay;
creators["death and decay"] = &death_and_decay;
//creators["raise dead"] = &raise_dead;
//creators["army of the dead"] = &army of the dead;
//creators["summon gargoyle"] = &army of the dead;
@@ -130,6 +130,14 @@ class GenericDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
/*C*/ nullptr);
}
static ActionNode* death_and_decay([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode ("death and decay",
/*P*/ nullptr,
/*A*/ NextAction::array(0, new NextAction("blood tap"), nullptr),
/*C*/ nullptr);
}
static ActionNode* anti_magic_zone([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode ("anti magic zone",