| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2017-9-7 |
| 在线时间 | 10 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 10 小时
- 注册时间
- 2014-10-26
- 回帖
- 3
|
楼主 |
发表于 2017-9-4 20:38:57
|
显示全部楼层
class Scene_Battle
alias :update_phase4_step6_recover :update_phase4_step6
def update_phase4_step6
update_phase4_step6_recover
回血状态ID = 1
回血百分比 = 10
if @active_battler.state?(回血状态ID)
@active_battler.hp += (@active_battler.maxhp * 回血百分比 * 0.01).round
@active_battler.damage = -(@active_battler.maxhp * 回血百分比 * 0.01).round
@active_battler.damage_pop = true
@status_window.refresh
end
end
end
这个不行 |
|