-------------------------------------------------------------------------------- -- Mini Dragon Main File -- -------------------------------------------------------------------------------- require( "common" ) require( "KQ/MiniDragon/Data/Name" ) -- ÆÄÀÏ°æ·Î, ÆÄÀÏÀ̸§, ¿ªÂüÁ¶¸¦ À§ÇÑ ³×ÀÓ Å×À̺í require( "KQ/MiniDragon/Data/Process" ) -- °¢Á¾ µô·¹ÀÌŸÀÓ°ú ¸µÅ© Á¤º¸, °øÁö, Äù½ºÆ® µîÀÇ ÁøÇà °ü·Ã µ¥ÀÌÅÍ require( "KQ/MiniDragon/Data/Regen" ) -- ¸®Á¨ µ¥ÀÌÅÍ(±×·ì, ¸÷, NPC, ¹®, ¾ÆÀÌÅÛ µîÀÇ ¸®Á¨ Á¾·ù, À§Ä¡ ¹× ¼Ó¼º °ü·Ã) require( "KQ/MiniDragon/Data/Boss" ) -- ´øÀü BossÀÇ Çൿ °ü·Ã(äÆà ¹× º¸½ºÀü ÆäÀÌÁî Á¦¾î¸¦ À§ÇÑ µ¥ÀÌÅÍ(¸÷¼Òȯ Á¤º¸ Æ÷ÇÔ)) require( "KQ/MiniDragon/Functions/SubFunc" ) -- ÀüüÀûÀÎ ÁøÇà¿¡ ÇÊ¿äÇÑ °¢Á¾ Sub Functions require( "KQ/MiniDragon/Functions/Routine" ) -- ¸÷ µî¿¡ ºÙ´Â AI °ü·Ã ·çƾµé require( "KQ/MiniDragon/Functions/Progress" ) -- °¢ ´Ü°è°¡ Á¤ÀÇµÈ ÁøÇà ÇÔ¼öµé 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 -- ÃÖÃÊ ½Ã°£ ÀÔ·Â Var["InitialSec"] = cCurrentSecond() Var["CurSec"] = cCurrentSecond() -- ù ½ºÅÜÀ¸·Î GoToNextStep( Var ) end -- 0.5Ãʸ¶´Ù ½ÇÇà if Var["CurSec"] + 0.5 > cCurrentSecond() then return else Var["CurSec"] = cCurrentSecond() end -- ½ºÅÜÇÔ¼ö ½ÇÇà ( Functions/Progress.lua ) Var["StepFunc"] ( Var ) end