require( "common" ) --[[ require( "Data/Name" ) require( "Data/Process" ) require( "Data/Chat" ) require( "Data/Regen" ) require( "Functions/SubFunc" ) require( "Functions/Routine" ) require( "Functions/Progress" ) --]] require( "ID/Leviathan/Data/Name" ) require( "ID/Leviathan/Data/Process" ) require( "ID/Leviathan/Data/Chat" ) require( "ID/Leviathan/Data/Regen" ) require( "ID/Leviathan/Functions/SubFunc" ) require( "ID/Leviathan/Functions/Routine" ) require( "ID/Leviathan/Functions/Progress" ) --]] function Main( Field ) cExecCheck "Main" local Var = InstanceField[ Field ] if Var == nil then InstanceField[ Field ] = {} Var = InstanceField[ Field ] Var["MapIndex"] = Field Var["Door"] = {} -- ¹® Á¤º¸ ´ã´Â ¸Þ¸ð¸® Var["Boss"] = {} -- º¸½º¸÷ Á¤º¸ ´ã´Â ¸Þ¸ð¸® Var["RoutineTime"] = {} -- ·çƾ ŸÀÓÀ» Çڵ鸶´Ù º¸°üÇÏ´Â ¸Þ¸ð¸® cSetFieldScript ( Var["MapIndex"], MainLuaScriptPath ) cFieldScriptFunc( Var["MapIndex"], "MapLogin", "PlayerMapLogin" ) -- ÃÖÃÊ ½Ã°£ ÀÔ·Â Var["InitialSec"] = cCurrentSecond() Var["CurSec"] = cCurrentSecond() -- ù ½ºÅÜÀ¸·Î Var["StepFunc"] = InitDungeon end -- 0.05Ãʸ¶´Ù ½ÇÇà if Var["CurSec"] + 0.05 > cCurrentSecond() then return else Var["CurSec"] = cCurrentSecond() end Var["StepFunc"] ( Var ) end