|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
-- Mini Dragon Main File --
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
require( "common" )
|
|
|
|
|
|
|
|
|
|
require( "KQ/MiniDragon/Data/Name" ) -- <EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD≯<EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD>
|
|
|
|
|
require( "KQ/MiniDragon/Data/Process" ) -- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ÿ<EFBFBD>Ӱ<EFBFBD> <EFBFBD><EFBFBD>ũ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
require( "KQ/MiniDragon/Data/Regen" ) -- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<EFBFBD><EFBFBD>, <EFBFBD><EFBFBD>, NPC, <EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD>ġ <EFBFBD><EFBFBD> <EFBFBD>Ӽ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|
|
|
|
require( "KQ/MiniDragon/Data/Boss" ) -- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> Boss<EFBFBD><EFBFBD> <EFBFBD>ൿ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>(ä<EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȯ <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>))
|
|
|
|
|
|
|
|
|
|
require( "KQ/MiniDragon/Functions/SubFunc" ) -- <EFBFBD><EFBFBD>ü<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ʿ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> Sub Functions
|
|
|
|
|
require( "KQ/MiniDragon/Functions/Routine" ) -- <EFBFBD><EFBFBD> <EFBFBD> <EFBFBD>ٴ<EFBFBD> AI <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ƾ<EFBFBD><EFBFBD>
|
|
|
|
|
require( "KQ/MiniDragon/Functions/Progress" ) -- <EFBFBD><EFBFBD> <EFBFBD>ܰ谡 <EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Main( Field )
|
|
|
|
|
cExecCheck "Main"
|
|
|
|
|
|
|
|
|
|
local Var = InstanceField[ Field ]
|
|
|
|
|
|
|
|
|
|
if Var == nil
|
|
|
|
|
then
|
|
|
|
|
|
|
|
|
|
InstanceField[ Field ] = {}
|
|
|
|
|
|
|
|
|
|
Var = InstanceField[ Field ]
|
|
|
|
|
Var["MapIndex"] = Field
|
|
|
|
|
|
|
|
|
|
Var["Friend"] = {}
|
|
|
|
|
Var["Enemy"] = {}
|
|
|
|
|
Var["RoutineTime"] = {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cSetFieldScript ( Var["MapIndex"], MainLuaScriptPath )
|
|
|
|
|
cFieldScriptFunc( Var["MapIndex"], "MapLogin", "PlayerMapLogin" )
|
|
|
|
|
|
|
|
|
|
Var["StepFunc"] = DummyFunc
|
|
|
|
|
|
|
|
|
|
-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ð<EFBFBD> <EFBFBD>Է<EFBFBD>
|
|
|
|
|
Var["InitialSec"] = cCurrentSecond()
|
|
|
|
|
Var["CurSec"] = cCurrentSecond()
|
|
|
|
|
|
|
|
|
|
-- ù <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
GoToNextStep( Var )
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 0.5<EFBFBD>ʸ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
if Var["CurSec"] + 0.5 > cCurrentSecond()
|
|
|
|
|
then
|
|
|
|
|
return
|
|
|
|
|
else
|
|
|
|
|
Var["CurSec"] = cCurrentSecond()
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> ( Functions/Progress.lua )
|
|
|
|
|
Var["StepFunc"] ( Var )
|
|
|
|
|
|
|
|
|
|
end
|