You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigFiesta/LuaScript/ID/SD_Vale01/SD_Vale01.lua

76 lines
1.7 KiB

require( "common" )
--[[
require( "Data/Name" )
require( "Data/Process" )
require( "Data/Chat" )
require( "Data/Regen" )
require( "Data/SkillInfo_KingCrab" )
require( "Data/SkillInfo_KingSlime" )
require( "Data/SkillInfo_MiniDragon" )
require( "Functions/SubFunc" )
require( "Functions/Routine" )
require( "Functions/Routine_KingCrab" )
require( "Functions/Routine_KingSlime" )
require( "Functions/Routine_MiniDragon" )
require( "Functions/Progress" )
--]]
require( "ID/SD_Vale01/Data/Name" )
require( "ID/SD_Vale01/Data/Process" )
require( "ID/SD_Vale01/Data/Chat" )
require( "ID/SD_Vale01/Data/Regen" )
require( "ID/SD_Vale01/Data/SkillInfo_KingCrab" )
require( "ID/SD_Vale01/Data/SkillInfo_KingSlime" )
require( "ID/SD_Vale01/Data/SkillInfo_MiniDragon" )
require( "ID/SD_Vale01/Functions/SubFunc" )
require( "ID/SD_Vale01/Functions/Routine" )
require( "ID/SD_Vale01/Functions/Routine_KingCrab" )
require( "ID/SD_Vale01/Functions/Routine_KingSlime" )
require( "ID/SD_Vale01/Functions/Routine_MiniDragon" )
require( "ID/SD_Vale01/Functions/Progress" )
--]]
function Main( Field )
cExecCheck "Main"
local Var = InstanceField[ Field ]
if Var == nil
then
InstanceField[ Field ] = {}
Var = InstanceField[ Field ]
Var["MapIndex"] = Field
cSetFieldScript ( Var["MapIndex"], MainLuaScriptPath )
cFieldScriptFunc( Var["MapIndex"], "MapLogin", "PlayerMapLogin" )
-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ð<EFBFBD> <EFBFBD>Է<EFBFBD>
Var["InitialSec"] = cCurrentSecond()
Var["CurSec"] = cCurrentSecond()
-- ù <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Var["StepFunc"] = InitDungeon
end
-- 0.05<EFBFBD>ʸ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if Var["CurSec"] + 0.05 > cCurrentSecond()
then
return
else
Var["CurSec"] = cCurrentSecond()
end
Var["StepFunc"] ( Var )
end