标题: 在事件中插入的一段脚本,并行处理,为什么会出现syntaxerror [打印本页] 作者: cqr19950307 时间: 2011-3-18 22:24 标题: 在事件中插入的一段脚本,并行处理,为什么会出现syntaxerror for i in 1..99
for j in 1..99
for k in 0..5
if k == 0
if j < $game_variables[17][i]
$data_actors[i].parameters[k, j]=10+($game_variables[k+11][i]*2+115)*j/100
else
if j < $game_variables[18][i]
$data_actors[i].parameters[k, j]=10+($game_variables[k+11][i+100]*2+115)*j/100
else
$data_actors[i].parameters[k, j]=10+($game_variables[k+11][i+200]*2+115)*j/100
end
end
else
if j < $game_variables[17][i]
$data_actors[i].parameters[k, j]=5+($game_variables[k+11][i]*2+15)*j/100
else
if j < $game_variables[18][i]
$data_actors[i].parameters[k, j]=5+($game_variables[k+11][i+100]*2+15)*j/100
else
$data_actors[i].parameters[k, j]=5+($game_variables[k+11][i+200]*2+15)*j/100
end
end
end
end
end
end