【求助】关于战斗
rmxp吧
全部回复
仅看楼主
level 1
请问战斗处理怎么用脚本表示?
比如:变量2的值是5,就与队伍5进行战斗。
变量2的值是4,就与队伍4进行战斗。
2009年09月28日 09点09分 1
level 4
……,无人问津
2009年10月29日 23点10分 2
level 1
if $data_troops[@parameters[0]] != nil
      $game_temp.battle_abort = true
      $game_temp.battle_calling = true
      $game_temp.battle_troop_id = @parameters[0]
      $game_temp.battle_can_escape = @parameters[1]
      $game_temp.battle_can_lose = @parameters[2]
      current_indent = @list[@index].indent
      $game_temp.battle_proc = Proc.new { |n| @branch[current_indent] = n }
    end
    @index += 1
里面的@parameters[x]表示表单(战斗处理那个表单,比如选择框)
2009年12月11日 14点12分 4
1