Skip to content

Commit

Permalink
Add hand of reckoning to protection paladin rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Aug 9, 2023
1 parent fb27724 commit 978c96c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions playerbot/PlayerbotFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2485,6 +2485,12 @@ void PlayerbotFactory::InitAvailableSpells()
{
bot->learnSpell(33394, false);
}

// hand of reckoning
if (!bot->HasSpell(33395))
{
bot->learnSpell(33395, false);
}
}
#endif

Expand Down
10 changes: 9 additions & 1 deletion playerbot/strategy/paladin/ProtectionPaladinStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ void ProtectionPaladinStrategy::InitCombatTriggers(std::list<TriggerNode*>& trig
"has greater blessing of salvation",
NextAction::array(0, new NextAction("remove greater blessing of salvation", ACTION_EMERGENCY), NULL)));

triggers.push_back(new TriggerNode(
"lose aggro",
NextAction::array(0, new NextAction("hand of reckoning", ACTION_MOVE), NULL)));

triggers.push_back(new TriggerNode(
"holy shield",
NextAction::array(0, new NextAction("holy shield", ACTION_HIGH + 3), NULL)));
Expand Down Expand Up @@ -491,6 +495,10 @@ void ProtectionPaladinStrategy::InitCombatTriggers(std::list<TriggerNode*>& trig
"has greater blessing of salvation",
NextAction::array(0, new NextAction("remove greater blessing of salvation", ACTION_EMERGENCY), NULL)));

triggers.push_back(new TriggerNode(
"lose aggro",
NextAction::array(0, new NextAction("hand of reckoning", ACTION_MOVE), NULL)));

triggers.push_back(new TriggerNode(
"holy shield",
NextAction::array(0, new NextAction("holy shield", ACTION_HIGH + 3), NULL)));
Expand Down Expand Up @@ -929,7 +937,7 @@ void ProtectionPaladinStrategy::InitCombatTriggers(std::list<TriggerNode*>& trig

triggers.push_back(new TriggerNode(
"lose aggro",
NextAction::array(0, new NextAction("hand of reckoning", ACTION_EMERGENCY), NULL)));
NextAction::array(0, new NextAction("hand of reckoning", ACTION_MOVE), NULL)));

triggers.push_back(new TriggerNode(
"holy shield",
Expand Down

0 comments on commit 978c96c

Please sign in to comment.