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