| 
 
| 赞 | 0 |  
| VIP | 9 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 16645 |  
| 最后登录 | 2021-10-15 |  
| 在线时间 | 15 小时 |  
 Lv1.梦旅人 
	梦石0 星屑70 在线时间15 小时注册时间2007-12-21帖子26 | 
3楼
 
 
 楼主|
发表于 2011-4-10 13:24:57
|
只看该作者 
| 回复 听海 的帖子 
 #--------------------------------------------------------------------------
 # ● 刷新画面 (主回合步骤 4 : 对像方动画)
 #--------------------------------------------------------------------------
 def update_phase4_step4
 # 刷新状态窗口
 @status_window.refresh
 # 对像方动画
 for target in @target_battlers
 #target.animation_id = @animation2_id
 #target.animation_hit = (target.damage != "Miss")
 if target.damage != nil
 target.damage_pop = true
 if target.damage != "Miss"
 r = rand(5)+10
 for i in 1..r
 Graphics.update
 Input.update
 update
 target.cp -= 1
 @battler_cp.ttbar[target].y = (142 - (target.cp * 135 / target.maxcp)) + 32-7          end
 end
 end
 end
 # 限制动画长度、最低 8 帧
 #@wait_count = 4
 # 移至步骤 5
 @phase4_step = 5
 end
 
 以上是报错相关的脚本,请帮忙看看
 | 
 |