| 赞 | 15 |
| VIP | |
| 好人卡 | |
| 积分 | 3 |
| 经验 | |
| 最后登录 | 2022-8-25 |
| 在线时间 | 2355 小时 |
- 梦石
- 0
- 星屑
- 266
- 在线时间
- 2355 小时
- 注册时间
- 2009-3-13
- 回帖
- 2257

|
发表于 2013-2-1 18:00:54
|
显示全部楼层
- class Window_Base
- def draw_actor_simple_status(actor, x, y)
- draw_actor_name(actor, x, y)
- draw_actor_level(actor, x, y + line_height * 1)
- draw_actor_icons(actor, x, y + line_height * 2)
- draw_actor_class(actor, x + 120, y - line_height * 0.5)
- draw_actor_hp(actor, x + 120, y + line_height * 0.5) #绘制HP,在原有位置上略调整
- draw_actor_mp(actor, x + 120, y + line_height * 1.5) #绘制MP,在原有位置上略调整
- if actor.preserve_tp?
- draw_actor_tp(actor, x + 120, y + line_height * 2.5) #绘制TP
- else
- draw_no_reserve(actor, x + 120, y + line_height * 2.5)
- end
- end
- def draw_no_reserve(actor, x, y, width = 112)
- draw_text(x, y, width, line_height, "no reserve") # 修改显示文字
- end
- end
复制代码 |
|