查看: 2393|回复: 4

[已经解决] 能力值上升上限后仍能使用bug

[复制链接]
梦石
0
星屑
4017
在线时间
604 小时
注册时间
2017-4-21
回帖
177
发表于 2018-8-28 22:38:09 | 显示全部楼层 |阅读模式

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

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

×
如提吧,在默认的系统下也有这个bug。

找不到处理办法,想来求教一下- -

物品有“能力值”和“上升量”,设置这两个参数,如果对应的能力值满了之后,还是可以继续使用,和扣道具数量

想做成对应的能力达到999之后就不能再对那个角色使用~大大们有解决方案吗

点评

这不是bug是feature.  发表于 2018-8-28 23:24
梦石
0
星屑
4017
在线时间
604 小时
注册时间
2017-4-21
回帖
177
 楼主| 发表于 2018-8-29 06:54:05 | 显示全部楼层
汗。。算是自己解决吧。
在Scene_Item的163行左右,插入
  1.       bunengshiyong = false
  2.       bunengshiyong = true if @item.parameter_type == 1 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].maxhp == 9999
  3.       bunengshiyong = true if @item.parameter_type == 2 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].maxsp == 9999
  4.       bunengshiyong = true if @item.parameter_type == 3 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].str == 999
  5.       bunengshiyong = true if @item.parameter_type == 4 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].dex == 999
  6.       bunengshiyong = true if @item.parameter_type == 5 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].agi == 999
  7.       bunengshiyong = true if @item.parameter_type == 6 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].int == 999
复制代码


然后下面一行新增一个判断条件就ok了 bunengshiyong == false
      # 目标是单体的情况下
      if @target_window.index >= 0 and bunengshiyong == false
回复

使用道具 举报

老黄鸡

梦石
4
星屑
45699
在线时间
7948 小时
注册时间
2009-7-6
回帖
13337

MZ评测员RM创作大赛01组委会开拓者贵宾

发表于 2018-8-29 09:04:42 | 显示全部楼层
阮声悠悠 发表于 2018-8-29 06:54
汗。。算是自己解决吧。
在Scene_Item的163行左右,插入

Game_Battler 1的78行开始就有各项能力的限制,999改成更高就行了。

点评

都不是这个意思。。  发表于 2018-8-29 17:13

评分

参与人数 1星屑 +1 收起 理由
RyanBern + 1 bunengshiyong

查看全部评分

RGDirect - DirectX驱动的RGSS,点我了解.
(排满,暂停)RM全系列成套系统定制请联系QQ1213237796
不接受对其他插件维护的委托
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部