以下引用redant于2008-10-26 12:32:36的发言:
http://rpg.blue/viewthread.php?tid=96694
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
if ((item.scope == 3 or item.scope == 4) and self.hp == 0) #注释这段 or ((item.scope == 5 or item.scope == 6) and self.hp >= 1)
when 5 # 我方单体 (HP 0)
index = @active_battler.current_action.target_index
actor = $game_party.actors[index]
if actor != nil #这里注释 and actor.hp0?
@target_battlers.push(actor)
end
when 6 # 我方全体 (HP 0)
for actor in $game_party.actors
if actor != nil #这里注释 and actor.hp0?
@target_battlers.push(actor)
end
end
以下引用天圣的马甲于2008-10-30 10:10:30的发言:
- -为什么会出现一个插在Main前面的脚本……不是只要在脚本里简单修改下范围判定就可以了么……
找到Game_Battler 3如下修改
if ((item.scope == 3 or item.scope == 4) and self.hp == 0) #注释这段 or ((item.scope == 5 or item.scope == 6) and self.hp >= 1)
这样改,根本没有效果,不是范围HP=0的药品对死亡的角色根本没有用,而且HP=0的药品
同样对活的角色也没用。
Scene_Battle 4里面
when 5 # 我方单体 (HP 0)
index = @active_battler.current_action.target_index
actor = $game_party.actors[index]
if actor != nil #这里注释 and actor.hp0?
@target_battlers.push(actor)
end
when 6 # 我方全体 (HP 0)
for actor in $game_party.actors
if actor != nil #这里注释 and actor.hp0?
@target_battlers.push(actor)
end
end
[本贴由作者于 2008-10-30 10:10:55 最后编辑]
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |