Project1
标题:
大家看看这段随机的战斗渐变脚本对吗
[打印本页]
作者:
残风£幻月
时间:
2008-9-30 04:04
提示:
作者被禁止或删除 内容自动屏蔽
作者:
hitlerson
时间:
2008-9-30 04:11
开关10没打开的情况你没写啊{/gg}
if $game_switches[10]
else
end
不好意思,看错
检查你的第一个CASE的END在哪呢。。。
作者:
dbshy
时间:
2008-9-30 04:13
# 执行过渡
if $data_system.battle_transition == ""
Graphics.transition(20)
else
randtra = rand(5)
if $game_switches[10] #当10号开关(BOSS战)打开时
case randtra
when 0
Graphics.transition(40, "Graphics/Transitions/trans_9S_3.png" )
when 1
Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin664.jpg" )
when 2
Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin665.jpg" )
when 3
Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin669.jpg" )
when 4
Graphics.transition(40, "Graphics/Transitions/9S_626-_by-Mark417_transi2.png" )
when 5
Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin669.jpg" )
end
else
case randtra
when 0
Graphics.transition(40, "Graphics/Transitions/003-Blind03.png" )
when 1
Graphics.transition(40, "Graphics/Transitions/004-Blind04.png")
when 2
Graphics.transition(40, "Graphics/Transitions/014-Square02.png")
when 3
Graphics.transition(40, "Graphics/Transitions/016.jpg")
when 4
Graphics.transition(40, "Graphics/Transitions/014-Square02.png")
when 5
Graphics.transition(40, "Graphics/Transitions/trans_9S_6.png")
end
end
end
复制代码
试试看,发现我现在连基本的语法都不记得了 = = [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者:
残风£幻月
时间:
2008-9-30 04:27
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1