mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
frost presence for blood dk
This commit is contained in:
@@ -18,7 +18,7 @@ class BloodDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
||||
//creators["death grip"] = &death_grip;
|
||||
//creators["plague strike"] = &plague_strike;
|
||||
//creators["pestilence"] = &pestilence;
|
||||
//creators["icy touch"] = &icy_touch;
|
||||
creators["icy touch"] = &icy_touch;
|
||||
//creators["obliterate"] = &obliterate;
|
||||
//creators["blood boil"] = &blood_boil;
|
||||
//creators["mark of_blood"] = &mark_of_blood;
|
||||
@@ -41,7 +41,13 @@ class BloodDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
|
||||
/*A*/ nullptr,
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
|
||||
static ActionNode* icy_touch([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("icy touch",
|
||||
/*P*/ NextAction::array(0, new NextAction("frost presence"), nullptr),
|
||||
/*A*/ nullptr,
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
static ActionNode* heart_strike([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode ("heart strike",
|
||||
|
||||
@@ -14,11 +14,6 @@ NextAction** CastDeathchillAction::getPrerequisites()
|
||||
return NextAction::merge(NextAction::array(0, new NextAction("frost presence"), nullptr), CastSpellAction::getPrerequisites());
|
||||
}
|
||||
|
||||
NextAction** CastDarkCommandAction::getPrerequisites()
|
||||
{
|
||||
return NextAction::merge(NextAction::array(0, new NextAction("blood presence"), nullptr), CastSpellAction::getPrerequisites());
|
||||
}
|
||||
|
||||
NextAction** CastUnholyMeleeSpellAction::getPrerequisites()
|
||||
{
|
||||
return NextAction::merge(NextAction::array(0, new NextAction("unholy presence"), nullptr), CastMeleeSpellAction::getPrerequisites());
|
||||
|
||||
@@ -40,8 +40,6 @@ class CastDarkCommandAction : public CastSpellAction
|
||||
{
|
||||
public:
|
||||
CastDarkCommandAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "dark command") { }
|
||||
|
||||
NextAction** getPrerequisites() override;
|
||||
};
|
||||
|
||||
BEGIN_RANGED_SPELL_ACTION(CastDeathGripAction, "death grip")
|
||||
|
||||
Reference in New Issue
Block a user