赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 1 |
经验 | 1005 |
最后登录 | 2019-3-25 |
在线时间 | 5 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 60
- 在线时间
- 5 小时
- 注册时间
- 2016-8-13
- 帖子
- 5
|
本帖最后由 寂寞鱼子酱 于 2016-8-24 15:11 编辑
- class Window_MenuStatus < Window_Menu_Selectable
- alias ald_refresh refresh
- def refresh
- self.contents.clear
- @item_max = $game_party.actors.size
- for i in 0...$game_party.actors.size
- x = 64
- y = i * 116
- actor = $game_party.actors[i]
- draw_actor_graphic(actor, x - 40, y + 80)
- draw_actor_name(actor, x, y)
- draw_actor_class(actor, x + 144, y)
- draw_actor_level(actor, x, y + 32)
- draw_actor_state(actor, x + 90, y + 32)
- draw_actor_exp(actor, x, y + 64)
- draw_actor_hp(actor, x + 236, y + 32)
- draw_actor_sp(actor, x + 236, y + 64)
- draw_actor_battle_position(actor, x + 236, y)
- end
- end
- def draw_actor_battle_position(actor, x, y)
- if actor.leader?
- if actor.active
- text = "领队|出战"
- else
- text = "领队"
- end
- color = knockout_color
- else
- color = disabled_color
- if actor.battle_disabled
- text = "无法出战"
- elsif actor.active
- text = "出战"
- color = normal_color
- else
- text = "待机"
- end
- end
- self.contents.font.color = color
- self.contents.draw_text(x, y, 120, 32, text)
- end
- end
复制代码
|
评分
-
查看全部评分
|