require( "common" ) gIsInit = false -- ÃʱâÈ­ µÇ¾ú³ª? ¤¤¤¤ ------------------------------------------------------------------------------------------------------ -- -- FUNCTION : CPP -> LUA -- ------------------------------------------------------------------------------------------------------ function DummyFunction() end function ClassChangeMaster03( Handle, MapIndex ) cExecCheck( "ClassChangeMaster03" ) -- À̺¥Æ® ÃʱâÈ­ if gIsInit == false then -- AISctipt Function ¼³Á¤ cAIScriptFunc( Handle, "NPCClick", "ClassChangeMaster03_Click" ) cAIScriptFunc( Handle, "NPCMenu", "ClassChangeMaster03_Menu" ) gIsInit = true; end end function ClassChangeMaster03_Click( NPCHandle, PlyHandle, PlyCharNo ) cExecCheck( "ClassChangeMaster03_Click" ) -- ´ÙÀ̾ó·Î±× ¸Þ´º Ãâ·Â cNPCMenuOpen( NPCHandle, PlyHandle ) end function ClassChangeMaster03_Menu( NPCHandle, PlyHandle, PlyCharNo, Value ) cExecCheck( "ClassChangeMaster03_Menu" ) -- Ŭ·¡½º º¯°æ? ¤·¤· if Value == 1 then cClassChangeOpen( PlyHandle ) end end