设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1918|回复: 4
打印 上一主题 下一主题

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

[复制链接]

Lv3.寻梦者

梦石
0
星屑
4002
在线时间
604 小时
注册时间
2017-4-21
帖子
229
跳转到指定楼层
1
发表于 2018-8-28 22:38:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

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

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

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

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

点评

这不是bug是feature.  发表于 2018-8-28 23:24

Lv3.寻梦者

梦石
0
星屑
4002
在线时间
604 小时
注册时间
2017-4-21
帖子
229
2
 楼主| 发表于 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
回复 支持 反对

使用道具 举报

Lv5.捕梦者 (管理员)

老黄鸡

梦石
0
星屑
39701
在线时间
7486 小时
注册时间
2009-7-6
帖子
13483

开拓者贵宾

3
发表于 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
不接受对其他插件维护的委托
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-30 13:11

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表