default actions

This commit is contained in:
Yunfan Li
2023-10-22 12:50:17 +08:00
parent 38f8ea5fd9
commit 45d0ae00ab
28 changed files with 98 additions and 79 deletions

View File

@@ -11,7 +11,11 @@ FrostMageStrategy::FrostMageStrategy(PlayerbotAI* botAI) : GenericMageStrategy(b
NextAction** FrostMageStrategy::getDefaultActions()
{
return NextAction::array(0, new NextAction("frostbolt", 7.0f), nullptr);
return NextAction::array(0,
new NextAction("frostbolt", ACTION_DEFAULT + 0.1f),
new NextAction("shoot", ACTION_DEFAULT),
nullptr);
}
void FrostMageStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)