赞 | 10 |
VIP | 0 |
好人卡 | 0 |
积分 | 40 |
经验 | 1739 |
最后登录 | 2024-10-30 |
在线时间 | 604 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 4007
- 在线时间
- 604 小时
- 注册时间
- 2017-4-21
- 帖子
- 229
|
2楼
楼主 |
发表于 2018-8-29 06:54:05
|
只看该作者
汗。。算是自己解决吧。
在Scene_Item的163行左右,插入
- bunengshiyong = false
- bunengshiyong = true if @item.parameter_type == 1 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].maxhp == 9999
- bunengshiyong = true if @item.parameter_type == 2 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].maxsp == 9999
- bunengshiyong = true if @item.parameter_type == 3 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].str == 999
- bunengshiyong = true if @item.parameter_type == 4 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].dex == 999
- bunengshiyong = true if @item.parameter_type == 5 and @item.parameter_points > 0 and $game_party.actors[@target_window.index].agi == 999
- 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 |
|