mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 21:16:24 +00:00
Spell casting
This commit is contained in:
@@ -43,6 +43,7 @@ class GenericPaladinStrategyActionNodeFactory : public NamedObjectFactory<Action
|
||||
creators["taunt spell"] = &hand_of_reckoning;
|
||||
creators["righteous defense"] = &righteous_defense;
|
||||
creators["avenger's shield"] = &avengers_shield;
|
||||
creators["melee consecration"] = &melee_consecration;
|
||||
}
|
||||
private:
|
||||
static ActionNode* blessing_of_sanctuary(PlayerbotAI* ai)
|
||||
@@ -217,7 +218,7 @@ class GenericPaladinStrategyActionNodeFactory : public NamedObjectFactory<Action
|
||||
{
|
||||
return new ActionNode ("holy wrath",
|
||||
/*P*/ nullptr,
|
||||
/*A*/ NextAction::array(0, new NextAction("consecration"), NULL),
|
||||
/*A*/ nullptr,
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
static ActionNode* hammer_of_wrath(PlayerbotAI* ai)
|
||||
@@ -234,6 +235,13 @@ class GenericPaladinStrategyActionNodeFactory : public NamedObjectFactory<Action
|
||||
/*A*/ NextAction::array(0, new NextAction("seal of righteousness"), NULL),
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
static ActionNode* melee_consecration([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode ("melee consecration",
|
||||
/*P*/ NextAction::array(0, new NextAction("reach melee"), nullptr),
|
||||
/*A*/ nullptr,
|
||||
/*C*/ nullptr);
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user