Battle.PVPBattle.PVP(UpIndex, DownIndex)函數功能創建PK戰鬥參數說明 UpIndex:數值型 戰鬥一方的 對象index DownIndex:數值型 戰鬥一方的 對象index 返回值返回負數表示失敗,成功返回戰鬥index。