查看: 1163|回复: 0

請教一個腳本問題

  [复制链接]
梦石
0
星屑
20
在线时间
0 小时
注册时间
2008-2-9
回帖
0
发表于 2009-5-24 02:09:12 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
是VX橫版的問題
當我在試驗的時候普通攻擊沒有問題但放魔法的時候就會跳出

腳本節 : sideview1  行號1824 發生 NoMethodError
undefined method `[]' for nil:NilClass


# 敌方和不使用二刀角色的取消二刀标志动画处理
  ->  two_swords_flug = weapon_kind[11]
      return if two_swords_flug && !@battler.actor?
      return if two_swords_flug && @battler.weapons[1] == nil && @battler.actor?
      if @battler.actor? && @battler.weapons[0] == nil && !two_swords_flug
        @weapon_R.action_reset
      elsif @battler.actor? && @battler.weapons[1] == nil && two_swords_flug
        @weapon_R.action_reset
      elsif !@battler.actor? && @battler.weapon == 0
        @weapon_R.action_reset
      else


有誰能幫我嗎!!?

此贴于 2009-6-6 10:32:56 被版主木葬枫提醒,请楼主看到后对本贴做出回应。
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

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

在本版发帖返回顶部