赞 | 0 |
VIP | 38 |
好人卡 | 1 |
积分 | 1 |
经验 | 2899 |
最后登录 | 2013-6-29 |
在线时间 | 82 小时 |
Lv1.梦旅人 魔星
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 82 小时
- 注册时间
- 2007-7-29
- 帖子
- 707
|
- #--------------------------------------------------------------------------
- # ● 处理角色动作
- #--------------------------------------------------------------------------
- def update_actor_animation
- if @battler.is_a?(Game_Actor)
- if @battler.show_damage_value != nil
- self.damage(@battler.show_damage_value, false)
- @battler.show_damage(nil)
- @battler.setup_battler_ani(@battler.battler_name.split(/★/)[3], 1)
- @battler.setup_battler_hurt_ani(1)
- end
- if @battler.current_action.kind == 0 and @battler.current_action.basic == 1
- ######################################################################
- @battler.setup_battler_ani(@battler.battler_name.split(/★/)[2], 1)
- @battler.setup_battler_hurt_ani(1)
- ####################################################################
- else
- if @hits == 1 and not @battler.dead? and @battler.battler_hurt_ani != 1 and @battler.damage.is_a?(Numeric) and @battler.damage > 0 and $fangyu != 1
- @battler.setup_battler_ani(@battler.battler_name.split(/★/)[3], 1)
- @battler.setup_battler_hurt_ani(1)
- ########################################################################
- elsif @hits == 1 and not @battler.dead? and @battler.battler_hurt_ani != 1 and @battler.damage.is_a?(Numeric) and @battler.damage > 0 and $fangyu == 1
- @battler.setup_battler_ani(@battler.battler_name.split(/★/)[2], 1)
- @battler.setup_battler_hurt_ani(1)
- #################################################################
- elsif @frame_index == @last_frame and @battler.dead? and @battler.battler_dead_ani != 1
- for actor in $game_party.actors
- if @battler != actor
- actor.add_state(6)
- end
- end
- @battler.setup_battler_ani(@battler.battler_name.split(/★/)[4], 1)
- @battler.setup_battler_dead_ani(1)
- end
- end
- end
- end
复制代码
把这一段覆盖住原脚本里的 ● 处理角色动作 即可。 |
|