查看: 2728|回复: 27

那个敌人血条脚本的冲突好像还没解决

  [复制链接]
梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
发表于 2008-5-17 23:30:00 | 显示全部楼层 |阅读模式

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

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

×
原帖地址:
http://rpg.blue/viewthread.php?tid=86842


按照3535的办法战斗中能看到敌人的血槽了,但是角色一选择特技就出错退出了


版务信息:本贴由楼主自主结贴~

冰

梦石
0
星屑
142
在线时间
264 小时
注册时间
2006-11-22
回帖
1010
发表于 2008-5-17 23:45:23 | 显示全部楼层
class Window_Skill < Window_Selectable
  #--------------------------------------------------------------------------
  # ● 刷新帮助文本
  #--------------------------------------------------------------------------
  def update_help
    if $game_temp.in_battle
      @help_window.set_text(self.skill == nil ? "" : self.skill.description)
    else
      @help_window.set_text(skill)
      #校正帮助窗口位置
      @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
    end
  end
end

系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
回复

使用道具 举报

梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
 楼主| 发表于 2008-5-17 23:59:25 | 显示全部楼层
选择特技的时候还是出错啦{/pz}
回复

使用道具 举报

梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
 楼主| 发表于 2008-5-18 00:01:27 | 显示全部楼层
查看装备的时候也会出错


回复

使用道具 举报

头像被屏蔽

冰

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-3-29
回帖
794
发表于 2008-5-18 00:01:50 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
 楼主| 发表于 2008-5-18 00:07:04 | 显示全部楼层
是添加在跟随光标移动脚本的最后么
回复

使用道具 举报

梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
 楼主| 发表于 2009-6-12 08:00:00 | 显示全部楼层
最后就是添加成这样还是老毛病:
class Window_Skill < Window_Selectable
  
  
#--------------------------------------------------------------------------
# ● 刷新帮助文本
#--------------------------------------------------------------------------
def update_help
   if $game_temp.in_battle
     @help_window.set_text(self.skill == nil ? "" : self.skill.description)
   else
     @help_window.set_text(skill)
     #校正帮助窗口位置
     @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
   end
end


  
  
  #--------------------------------------------------------------------------
  # ● 刷新帮助文本
  #--------------------------------------------------------------------------
  def update_help
#    @help_window.set_text(self.skill == nil ? "" : self.skill.description)
    @help_window.set_text(skill)
    #校正帮助窗口位置
    @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
  end
end
class Window_EquipRight < Window_Selectable
  def update_help
#    @help_window.set_text(self.item == nil ? "" : self.item.description)
    @help_window.set_text(item)
    #校正帮助窗口位置
    @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
  end
end
class Window_EquipItem < Window_Selectable
  def update_help
#    @help_window.set_text(self.item == nil ? "" : self.item.description)
    @help_window.set_text(item)
    #校正帮助窗口位置
    @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
  end
end
class Window_ShopBuy < Window_Selectable
  def update_help
    @help_window.set_text(item)
    #校正帮助窗口位置
    @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
  end
end
class Window_ShopSell < Window_Selectable
  def update_help
    @help_window.set_text(item)
    #校正帮助窗口位置
    @help_window.set_pos(self.x,self.y,self.width,self.oy,self.index,@column_max)
  end
end
回复

使用道具 举报

头像被屏蔽

冰

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-3-29
回帖
794
发表于 2008-5-18 00:11:25 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

梦石
0
星屑
50
在线时间
31 小时
注册时间
2008-5-16
回帖
92
 楼主| 发表于 2008-5-18 00:24:51 | 显示全部楼层
这样的话选特技可以了,但是查看装备就出错了{/dk}
回复

使用道具 举报

头像被屏蔽

冰

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-3-29
回帖
794
发表于 2008-5-18 00:27:41 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部