GSServer-CBT/soggy_resources/lua/UAuto/TestCases/quest/302/QuestBranch_302.lua
Akbar Yahya e0d4d8040c melon
2022-11-21 16:30:31 +08:00

38 lines
1.1 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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