查看: 1252|回复: 3

大家看看这段随机的战斗渐变脚本对吗

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-9-7
回帖
25
发表于 2008-9-30 04:04:09 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
梦石
0
星屑
60
在线时间
41 小时
注册时间
2008-3-5
回帖
1992
发表于 2008-9-30 04:11:39 | 显示全部楼层
开关10没打开的情况你没写啊{/gg}
if $game_switches[10]

else

end

不好意思,看错

检查你的第一个CASE的END在哪呢。。。
你它囧一字母君谁记得……
当时那把剑离我的喉咙只有0.01工分。可是一柱香之后,这个女主人会深深的爱上我,虽然本人平生说了无数的谎话,可是这句最有效:“你应该这么做,我也应该死。
曾经有一取ID的机会放在我面前,我没有珍惜,等我失去的时候我才后悔莫及,人世间最痛苦的事莫过于此。你的剑在我的咽喉上割下去吧!不用再犹豫了!如果上天能够给我一个再来一次的机会,我绝对会取个汉字君。如果非要给这ID加点修饰的话,我希望是……红色加粗……

回复

使用道具 举报

辉瑞中国首席研究员<

梦石
0
星屑
50
在线时间
142 小时
注册时间
2008-1-18
回帖
2059
发表于 2008-9-30 04:13:55 | 显示全部楼层
  1. # 执行过渡
  2.    if $data_system.battle_transition == ""
  3.      Graphics.transition(20)
  4.    else
  5.      randtra = rand(5)
  6.    if $game_switches[10]          #当10号开关(BOSS战)打开时
  7.    
  8.      case randtra
  9.      when 0
  10.        Graphics.transition(40, "Graphics/Transitions/trans_9S_3.png" )
  11.      when 1
  12.        Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin664.jpg" )
  13.      when 2
  14.        Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin665.jpg" )
  15.      when 3
  16.        Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin669.jpg" )
  17.      when 4
  18.        Graphics.transition(40, "Graphics/Transitions/9S_626-_by-Mark417_transi2.png" )
  19.      when 5
  20.        Graphics.transition(40, "Graphics/Transitions/transCorbaquejuin669.jpg" )
  21.       end
  22.      else
  23.    case randtra
  24.   when 0
  25.      Graphics.transition(40, "Graphics/Transitions/003-Blind03.png" )
  26.   when 1
  27.     Graphics.transition(40, "Graphics/Transitions/004-Blind04.png")
  28.   when 2
  29.     Graphics.transition(40, "Graphics/Transitions/014-Square02.png")
  30.   when 3
  31.     Graphics.transition(40, "Graphics/Transitions/016.jpg")
  32.   when 4
  33.     Graphics.transition(40, "Graphics/Transitions/014-Square02.png")
  34.   when 5
  35.     Graphics.transition(40, "Graphics/Transitions/trans_9S_6.png")
  36.   end

  37.   end
  38.   end
复制代码


试试看,发现我现在连基本的语法都不记得了 = =
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
来6r就是等某位仁兄的巨坑

褴褛着身行无端,囊中羞涩空心酸。
平生几无得意事,倒塔泡面宅寝室。
惟羡隔壁高帅富,雨露春风月夜声。
青丝无处觅其踪,只有硬盘苍井空。
莫云男儿空悲愁,鸿鹄岂不天际游。
坐断天下执鹿首,千百金帛万兜鍪。
夜深忽梦某年月,再见女神欲语迟。
吊丝终有逆袭日,木耳再无回粉时。
回复

使用道具 举报

头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-9-7
回帖
25
 楼主| 发表于 2008-9-30 04:27:32 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部