赞 | 0 |
VIP | 0 |
好人卡 | 12 |
积分 | 1 |
经验 | 12966 |
最后登录 | 2020-6-2 |
在线时间 | 132 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 80
- 在线时间
- 132 小时
- 注册时间
- 2014-5-7
- 帖子
- 148
|
抵制滥用备注
MP上限是0的角色只显示TP,否则只显示MP(没测,可能有忽略没改的地方- class Window_Base < Window
- 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)
- draw_actor_hp(actor, x + 120, y + line_height * 1)
- if actor.mmp > 0
- draw_actor_mp(actor, x + 120, y + line_height * 2)
- else; draw_actor_tp(actor, x + 120, y + line_height * 2); end
- end
- end
- class Window_Status < Window_Selectable
- def draw_basic_info(x, y)
- draw_actor_level(@actor, x, y + line_height * 0)
- draw_actor_icons(@actor, x, y + line_height * 1)
- draw_actor_hp(@actor, x, y + line_height * 2)
- if actor.mmp > 0
- draw_actor_mp(@actor, x, y + line_height * 3)
- else; draw_actor_tp(@actor, x, y + line_height * 3) end
- end
- end
- class Window_BattleStatus < Window_Selectable
- def draw_gauge_area(rect, actor)
- if actor.mmp > 0
- draw_gauge_area_without_tp(rect, actor)
- else; draw_gauge_area_with_tp(rect, actor) end end
-
- def draw_gauge_area_with_tp(rect, actor)
- draw_actor_hp(actor, rect.x + 0, rect.y, 72)
- draw_actor_tp(actor, rect.x + 144, rect.y, 76)
- end
- end
复制代码 |
|