logoHourGlass
Battle.SetType

Battle.SetType

Battle.SetType(BattleIndex, Type)

函數功能

設置戰鬥類型,如普通戰、PVP戰等。

參數說明

  • BattleIndex數值型 戰鬥index,爲Encount、PVE或PVP函數的返回值。
  • Type數值型 戰鬥類型,具體參照戰鬥類型常量。

返回值

1爲成功,其他失敗。