mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Rogue spell cast optimize
This commit is contained in:
@@ -35,6 +35,8 @@ AssassinationRogueStrategy::AssassinationRogueStrategy(PlayerbotAI* ai) : MeleeC
|
||||
NextAction** AssassinationRogueStrategy::getDefaultActions()
|
||||
{
|
||||
return NextAction::array(0,
|
||||
new NextAction("garrote", ACTION_DEFAULT + 0.2f),
|
||||
new NextAction("ambush", ACTION_DEFAULT + 0.1f),
|
||||
new NextAction("melee", ACTION_DEFAULT),
|
||||
NULL);
|
||||
}
|
||||
@@ -47,6 +49,10 @@ void AssassinationRogueStrategy::InitTriggers(std::vector<TriggerNode*> &trigger
|
||||
"high energy available",
|
||||
NextAction::array(0, new NextAction("mutilate", ACTION_NORMAL + 3), NULL)));
|
||||
|
||||
triggers.push_back(new TriggerNode(
|
||||
"hunder for blood",
|
||||
NextAction::array(0, new NextAction("hunder for blood", ACTION_HIGH + 6), NULL)));
|
||||
|
||||
triggers.push_back(new TriggerNode(
|
||||
"slice and dice",
|
||||
NextAction::array(0, new NextAction("slice and dice", ACTION_HIGH + 5), NULL)));
|
||||
|
||||
Reference in New Issue
Block a user