Skip to content

Commit

Permalink
FIx rogue not doing stuff in stealth
Browse files Browse the repository at this point in the history
Fix not accepting invite, roll, (dis)mount, leave bg, sinister strike
  • Loading branch information
celguar committed Mar 23, 2024
1 parent fe609ef commit 12157a3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions playerbot/strategy/rogue/RogueStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class RogueStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
creators["kidney shot"] = &kidney_shot;
creators["slice and dice"] = &slice_and_dice;
creators["eviscerate"] = &eviscerate;
creators["ambush"] = &ambush;
creators["sap"] = &sap;
}

Expand All @@ -28,8 +27,6 @@ class RogueStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>

ACTION_NODE_A(eviscerate, "eviscerate", "rupture");

ACTION_NODE_A(ambush, "ambush", "cheap shot");

ACTION_NODE_A(slice_and_dice, "slice and dice", "eviscerate");

ACTION_NODE_A(sap, "sap", "blind");
Expand Down Expand Up @@ -1415,6 +1412,7 @@ class RogueStealthedStrategyMultiplier : public Multiplier
(actionName == "garrote") ||
(actionName == "food") ||
(actionName == "backstab") ||
(actionName == "sinister strike") ||
(actionName == "dps assist") ||
(actionName == "select new target") ||
(actionName == "follow") ||
Expand All @@ -1425,7 +1423,13 @@ class RogueStealthedStrategyMultiplier : public Multiplier
(actionName == "set dead state") ||
(actionName == "update pvp strats") ||
(actionName == "update pve strats") ||
(actionName == "update raid strats"))
(actionName == "update raid strats") ||
(actionName == "accept invitation") ||
(actionName == "bg status") ||
(actionName == "bg leave") ||
(actionName == "check mount state") ||
(actionName == "loot roll") ||
(actionName == "auto loot roll"))
{
return 1.0f;
}
Expand Down

0 comments on commit 12157a3

Please sign in to comment.