a =[$game_variables[1],$game_variables[2],$game_variables[3]]
$game_variables[4] = a.max
index(val)
返回数组中第一个 ==val 的单元的位置。若没有与其相等的单元则返回 nil。
$game_variables[5] = $game_variables.index($game_variables[4])
以下引用一路一风尘于2008-12-2 14:12:12的发言:
sort
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |