| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 3200 |  
| 最后登录 | 2015-10-28 |  
| 在线时间 | 32 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间32 小时注册时间2005-11-14帖子85 | 
| 
本帖最后由 donald 于 2010-12-4 23:50 编辑
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  
 呃~~~~这个横版战斗系统不是齐时战斗的,我想修改为齐时战斗。
 之前一帖搜到了齐时战斗的教程帖,以为完成了,但是套用了齐时战斗的修改方法,发现还是原来那样。。。后来仔细看看以前的脚本,发现RTAB战斗系统的动画顺序就是齐时战斗!但是为什么实际用起来不是呢。。。
 
 下面是这两段脚本。加了#的是原脚本。
 
 #--------------------------------------------------------------------------
 # ● 刷新画面 (主回合步骤 3 : 行动方动画)
 #--------------------------------------------------------------------------
 #def update_phase4_step3
 # 行动方动画 (ID 为 0 的情况下是白色闪烁)
 #  if @animation1_id == 0
 #    @active_battler.white_flash = true
 #  else
 #    @active_battler.animation_id = @animation1_id
 #    @active_battler.animation_hit = true
 #  end
 # 对像方动画
 #  for target in @target_battlers
 #    target.animation_id = @animation2_id
 #    target.animation_hit = (target.damage != "Miss")
 #  end
 # 限制动画长度、最低 8 帧
 #  @wait_count = 8
 # 移至步骤 4
 #  @phase4_step = 5
 #end
 
 
 def update_phase4_step3
 # 行动方动画 (ID 为 0 的情况下是白色闪烁)
 if @animation1_id == 0
 @active_battler.white_flash = true
 else
 @active_battler.animation_id = @animation1_id
 @active_battler.animation_hit = true
 end
 # 对像方动画
 for target in @target_battlers
 target.animation_id = @animation2_id
 target.animation_hit = (target.damage != "Miss")
 end
 # 移至步骤 4
 @phase4_step = 4
 end
 
 
 
 #--------------------------------------------------------------------------
 # ● 刷新画面 (主回合步骤 4 : 对像方动画)
 #--------------------------------------------------------------------------
 #def update_phase4_step4
 # 移至步骤 5
 #@phase4_step = 5
 #end
 
 def update_phase4_step4
 # 限制动画长度、最低 8 帧
 @wait_count = 8
 # 移至步骤 5
 @phase4_step = 5
 end
 
 
 | 
 |