Battle.ExitBattleBattle.ExitBattle(CharIndex)函數功能讓指定玩家退出當前戰鬥。參數說明 CharIndex:數值型 目標的對象index,在戰鬥中的玩家。 返回值0爲成功,其他失敗。