-- ******************************************************************************************* -- ****** Å©¸®Ã³ µ¿ÀÛ °ü·Ã ******************************************************************* -- ******************************************************************************************* -- handle(Å×ÀÌ¸Ó ÇÚµé) c_handle(Å©¸®Ã³ ÇÚµé) t_handle(Ÿ°Ù ÇÚµé) function call_creature_standby( handle ) -- Å©¸®Ã³ ÁÖÀÎ µû¶ó ´ó±â±â c_standby( handle ) end function call_creature_move( handle ) -- Å©¸®Ã³ À̵¿ local Location = 1 c_move( handle, Location ) end function call_creature_attack( handle, c_handle, t_handle ) -- Å©¸®Ã³ °ø°Ý c_attack( handle, c_handle, t_handle ) -- local SkillSlot = 0 -- c_skill( t_handle, c_handle, SkillSlot ) local MonsterHP = gethp( t_handle ) local Location = 1 if MonsterHP == 0 or MonsterHP < 0 then -- ¸ó½ºÅÍÀÇ HP°¡ 0À̶ó¸é µû¸£±â·Î Àüȯ c_move( c_handle, Location ) end end -- Å©¸®Ã³ ½ºÅ³ Äü½½·Ô¿¡ ÀåÂøµÈ ½ºÅ³À» ÀÚµ¿À¸·Î »ç¿ëÇϰíÀÚ ÇÒ¶§ ÇØ´ç ½ºÅ³ÀÌ ÀåÂøµÈ ½½·ÔÀÇ ¹øÈ£¸¦ ³Ñ°ÜÁÖ¸éµÈ´Ù -- gethp -- getmp -- getmax_hp -- getmax_mp function call_creature_idle( handle, c_handle ) -- Å©¸®Ã³ ´ë±â -- local SkillSlot = 1 -- ÇöÀç Å©¸®Ã³ ½ºÅ³ Äü½½·Ô¿¡ ÀåÂøµÅÀÖ´Â ½ºÅ³¸¸ °¡´É -- local MasterHP = gethp( handle ) -- if MasterHP == 70 or MasterHP < 70 then -- Èú¸µ -- c_skill( handle, c_handle, SkillSlot ) -- end c_idle( c_handle ) end