赞 | 1 |
VIP | 10 |
好人卡 | 2 |
积分 | 1 |
经验 | 132388 |
最后登录 | 2016-5-9 |
在线时间 | 34 小时 |
Lv1.梦旅人 冰王子
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 34 小时
- 注册时间
- 2008-1-27
- 帖子
- 1875
|
re:主题:《灯笼大哥~~~~~~~我又来了。。。。》
- 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
- # 对像方动画
- unless @target_battlers.include?(@active_battler)
- for target in @target_battlers
- target.animation_id = @animation2_id
- target.animation_hit = (target.damage != "Miss")
- end
- end
- # 移至步骤 4
- @phase4_step = 4
- end
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 4 : 对像方动画)
- #--------------------------------------------------------------------------
- def update_phase4_step4
- if @target_battlers.include?(@active_battler)
- for target in @target_battlers
- target.animation_id = @animation2_id
- target.animation_hit = (target.damage != "Miss")
- end
- end
- # 限制动画长度、最低 8 帧
- @wait_count = 8
- # 移至步骤 5
- @phase4_step = 5
- end
复制代码
替换对应区段 |
|