| 赞 | 72 |
| VIP | |
| 好人卡 | |
| 积分 | 23 |
| 经验 | |
| 最后登录 | 2022-3-9 |
| 在线时间 | 4033 小时 |
…あたしは天
- 梦石
- 0
- 星屑
- 2308
- 在线时间
- 4033 小时
- 注册时间
- 2010-10-4
- 回帖
- 10548
 
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
本帖最后由 taroxd 于 2015-2-18 12:49 编辑
[pre lang="ruby"]#--------------------------------------------------------------------------
# ● 修复默认系统的一些 bug。详见下方的注释
#--------------------------------------------------------------------------
module Taroxd
module BugFix
# Plane#visible 永远返回 true 的 bug。需要主动 include。
module PlaneVisible
def visible
@__visible
end
def visible=(v)
@__visible = v
super
end
end
end
end
class Game_BattlerBase
# max_tp 不为 100 时,以下两方法返回值错误的 bug
def tp_rate
@tp.fdiv(max_tp)
end
def regenerate_tp
self.tp += max_tp * trg
end
end
class Game_Interpreter
# 震动画面后等待时间不正确的 bug
def command_225
screen.start_shake(@params[0], @params[1], @params[2])
wait(@params[2]) if @params[3]
end
end[/pre] |
|