赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 4 |
经验 | 868 |
最后登录 | 2014-6-14 |
在线时间 | 628 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 448
- 在线时间
- 628 小时
- 注册时间
- 2011-9-27
- 帖子
- 3996
|
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 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")
- ################################添加的#############################
- if target.is_a?(Game_Actor)
- target.battler_name = target.battler_name.split(/★/)[0]
- if (target.current_action.kind == 0 and target.current_action.basic == 1) or target.damage == "Miss" or target.damage.to_i <= 0
- target.battler_name = target.battler_name + "★3"
- else
- target.battler_name = target.battler_name + "★4"
- end
- end
- end
- # 移至步骤 4
- @phase4_step = 4
- end
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 4 : 对像方动画)
- #--------------------------------------------------------------------------
- def update_phase4_step4
- # 限制动画长度、最低 8 帧
- @wait_count = 8
- # 移至步骤 5
- @phase4_step = 5
- end
- #--------------------------------------------------------------------------
- # ● 刷新画面 (主回合步骤 5 : 显示伤害)
- #--------------------------------------------------------------------------
- def update_phase4_step5
- # 隐藏帮助窗口
- @help_window.visible = false
- # 刷新状态窗口
- @status_window.refresh
- # 显示伤害
- for target in @target_battlers
- if target.damage != nil
- target.damage_pop = true
- end
- end
- # 移至步骤 6
- @phase4_step = 6
- end
复制代码 纯引用http://rpg.blue/forum.php?mod=vi ... B%E9%98%B2%E5%BE%A1
不知道你的意思和那个贴一样不 |
|