Char.GiveRecipeChar.GiveRecipe(CharIndex,RecipeId)函數功能爲對象增加RecipeId的配方,等同於腳本中的GiveRecipe。參數說明 CharIndex:數值型 目標的 對象index。 RecipeId:數值型 配方的ID。 返回值製作成功則返回1,否則返回0。