$game_variables[12] = [[1,2,3,4,5,6][rand(6)]]
if $game_variables[12] == 1
$game_actors[9].name =\
"羽叶村客栈\\C[2]客栈老板"
end
if $game_variables[12] == 2
$game_actors[9].name =\
"羽叶村客栈\\C[2] ...
蓝蓝小雪 发表于 2009-7-10 21:38
$game_variables[12] = [[1,2,3,4,5,6][rand(6)]]
这一句改为
$game_variables[12] = rand(6)+1
试试
tommay 发表于 2009-7-10 21:46
rand(n)是在0~n-1中随机
-----------------------------------------------------------
$game_variables[12] = [[1,2,3,4,5,6][rand(6)]]
这句话多了一个括号,正确的应该是
$game_variables[12] = [1,2,3,4,5,6][r ...
tommay 发表于 2009-7-10 21:57
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |