| 
 
| 赞 | 11 |  
| VIP | 302 |  
| 好人卡 | 162 |  
| 积分 | 63 |  
| 经验 | 108302 |  
| 最后登录 | 2025-10-31 |  
| 在线时间 | 6605 小时 |  
 Lv4.逐梦者 醉啸 长风万里 
	梦石0 星屑6327 在线时间6605 小时注册时间2007-12-16帖子4504 
 | 
| Game_Actor里 改为复制代码  #--------------------------------------------------------------------------
  # ● 获取普通攻击动画 ID
  #--------------------------------------------------------------------------
  def atk_animation_id
    if two_swords_style
      return weapons[0].animation_id if weapons[0] != nil
      return weapons[1] == nil ? 1 : 0
    else
      return weapons[0] == nil ? 1 : weapons[0].animation_id
    end
  end
意思:当攻击动画为在数据库中7号动画+一号开关打开时此武器动画改为27号动画复制代码  #--------------------------------------------------------------------------
  # ● 获取普通攻击动画 ID
  #--------------------------------------------------------------------------
  def atk_animation_id
    if two_swords_style
      return weapons[0].animation_id if weapons[0] != nil
      return weapons[1] == nil ? 1 : 0
    else
      if weapons[0].animation_id == 7 and $game_switches[1]==true
        return 27
      else
        return weapons[0] == nil ? 1 : weapons[0].animation_id
      end
    end
  end
 | 
 |