Skip to content

Commit

Permalink
Retri paladin should prioritize blessing of wisdom
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Apr 11, 2024
1 parent f01c9ce commit 7f45f18
Showing 1 changed file with 48 additions and 6 deletions.
54 changes: 48 additions & 6 deletions playerbot/strategy/paladin/PaladinActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,14 @@ std::vector<std::string> CastPveBlessingAction::GetPossibleBlessingsForTarget(Un
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
if (player->getClass() == CLASS_PALADIN)

This comment has been minimized.

Copy link
@Exxenoz

Exxenoz Apr 11, 2024

Member

Shouldn't this be a talent tab check instead of a class check?

This comment has been minimized.

Copy link
@davidonete

davidonete Apr 11, 2024

Author Contributor

If it's not a tank or healer, it's DPS, + paladin class = retribution paladin

This comment has been minimized.

Copy link
@Exxenoz

Exxenoz Apr 11, 2024

Member

If it's not a tank or healer, it's DPS, + paladin class = retribution paladin

True! I have read the entire method now. Makes sense. 😉

{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}

Expand Down Expand Up @@ -144,7 +151,14 @@ std::vector<std::string> CastPvpBlessingAction::GetPossibleBlessingsForTarget(Un
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
if (player->getClass() == CLASS_PALADIN)
{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}

Expand Down Expand Up @@ -174,7 +188,14 @@ std::vector<std::string> CastRaidBlessingAction::GetPossibleBlessingsForTarget(U
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
if (player->getClass() == CLASS_PALADIN)
{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}

Expand Down Expand Up @@ -307,7 +328,14 @@ std::vector<std::string> CastPveBlessingOnPartyAction::GetPossibleBlessingsForTa
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
if (player->getClass() == CLASS_PALADIN)
{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}
else
Expand Down Expand Up @@ -353,7 +381,14 @@ std::vector<std::string> CastPvpBlessingOnPartyAction::GetPossibleBlessingsForTa
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
if (player->getClass() == CLASS_PALADIN)
{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}
else
Expand Down Expand Up @@ -399,7 +434,14 @@ std::vector<std::string> CastRaidBlessingOnPartyAction::GetPossibleBlessingsForT
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of wisdom", "blessing of sanctuary", "blessing of light" };
if (player->getClass() == CLASS_PALADIN)
{
blessings = { "blessing of wisdom", "blessing of might", "blessing of kings", "blessing of light", "blessing of sanctuary" };
}
else
{
blessings = { "blessing of might", "blessing of kings", "blessing of light", "blessing of wisdom", "blessing of sanctuary" };
}
}
}
else
Expand Down

0 comments on commit 7f45f18

Please sign in to comment.