以下引用水镜风生于2009-5-27 17:21:05的发言:
这个估计得动脚本了:
Scene_Battle 4,211行:
# 应用通常攻击效果
for target in @target_battlers
target.attack_effect(@active_battler)
target.hp += 100 if target.states.include?(1)
end
添加红色句子,则角色在受到攻击时若拥有1号状态则HP回复100。
[本贴由作者于 2009-5-27 17:27:19 最后编辑]
要动的是Game_Battler 3吧……
self.hp -= self.damage
下面加
if self.state?(1)
self.hp +=100
end
试试看……
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |