logoHourGlass
Battle.SetMod

Battle.SetMod

Battle.SetMod(BattleIndex, Mod)

函數功能

設置戰鬥模式,如普通戰鬥、pvp戰鬥、boss戰。

參數說明

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

返回值

1爲成功,其他失敗。