查看: 1207|回复: 2

果冻叮当猫改的全动画脚本出了问题!

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
6 小时
注册时间
2008-9-28
回帖
82
发表于 2008-11-16 02:22:59 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-11-9
回帖
15
发表于 2008-11-16 04:55:27 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

魔星

梦石
0
星屑
50
在线时间
82 小时
注册时间
2007-7-29
回帖
581
发表于 2008-11-16 06:37:28 | 显示全部楼层
  1.   #--------------------------------------------------------------------------
  2.   # ● 处理角色动作
  3.   #--------------------------------------------------------------------------
  4.   def update_actor_animation
  5.     if @battler.is_a?(Game_Actor)
  6.       if @battler.show_damage_value != nil
  7.         self.damage(@battler.show_damage_value, false)
  8.         @battler.show_damage(nil)
  9.         @battler.setup_battler_ani(@battler.battler_name.split(/★/)[3], 1)
  10.         @battler.setup_battler_hurt_ani(1)
  11.       end
  12.       if @battler.current_action.kind == 0 and @battler.current_action.basic == 1
  13.         ######################################################################
  14.         @battler.setup_battler_ani(@battler.battler_name.split(/★/)[2], 1)
  15.           @battler.setup_battler_hurt_ani(1)
  16.         ####################################################################
  17.       else
  18.         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
  19.           @battler.setup_battler_ani(@battler.battler_name.split(/★/)[3], 1)
  20.           @battler.setup_battler_hurt_ani(1)
  21.         ########################################################################
  22.         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
  23.           @battler.setup_battler_ani(@battler.battler_name.split(/★/)[2], 1)
  24.           @battler.setup_battler_hurt_ani(1)
  25.           #################################################################
  26.         elsif @frame_index == @last_frame and @battler.dead? and @battler.battler_dead_ani != 1
  27.           for actor in $game_party.actors
  28.             if @battler != actor
  29.               actor.add_state(6)
  30.             end
  31.           end
  32.           @battler.setup_battler_ani(@battler.battler_name.split(/★/)[4], 1)
  33.           @battler.setup_battler_dead_ani(1)
  34.         end
  35.       end
  36.     end
  37.   end
复制代码

把这一段覆盖住原脚本里的 ● 处理角色动作 即可。

                                                             『点击图片进入周小瑜的个人空间』
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部