GSServer-CBT/soggy_resources/lua/UAuto/TestCases/quest/302/QuestBranch_302.lua

38 lines
1.1 KiB
Lua
Raw Normal View History

2022-11-21 11:30:31 +03:00
local baseClass = require('UAuto/TestCases/Quest/302/QuestBase_302')
local UAutoLuaTestCase = class("QuestBranch_302",baseClass)
local self = UAutoLuaTestCase
UAutoLuaTestCase.TestFixture = self.__className
self.Description="派蒙的指引,去过蒙得城的分支情况"
self.Category = "任务系统"
self.SetUp = {
Order=0.1,
Category="任务系统",
Description = "初始化clear all",
Type = CaseType.MonoTest,
Action = UAutoCoroutine(function()
yield_return(self.base:SetUpVariables())
yield_return(self.base:RunGM("clear all",true,true))
end)
}
self.Branch30207 = {
Order=1,
Category="任务系统",
Type = CaseType.MonoTest,
Description = "去蒙得城后再跑引导任务",
Action = UAutoCoroutine(function()
self.questID = 302
yield_return(self:Step_30201())
--yield_return(self:Step_30202())
--yield_return(self:Step_30203())
yield_return(self:Step_30204())
yield_return(self:TriggerMengDeTask())
yield_return(self.base:TelePort(self.endPosition))
yield_return(self:Step_30203())
yield_return(self:Step_30205())
yield_return(self:Step_30206())
--self:CheckQuestPromtOnMiniMap()
end)
}
return self