| 赞 | 35 |
| VIP | |
| 好人卡 | |
| 积分 | 64 |
| 经验 | |
| 最后登录 | 2025-12-12 |
| 在线时间 | 1473 小时 |
- 梦石
- 0
- 星屑
- 6375
- 在线时间
- 1473 小时
- 注册时间
- 2015-7-25
- 回帖
- 609
 
|
发表于 2016-12-26 11:18:20
|
显示全部楼层
嗯...楼主可以试一下,我感觉没问题的说
- class Window_Base < Window
- def draw_actor_class(actor, x, y, width = 112)
- change_color(normal_color)
- draw_text(x, y, width, line_height, actor.class.name)
- if $game_switches[1]
- contents.clear
- draw_text(x, y, width, line_height, "111")
- end
- if $game_switches[2]
- contents.clear
- draw_text(x, y, width, line_height, "222")
- end
- if $game_switches[3]
- contents.clear
- draw_text(x, y, width, line_height, "333")
- end
- end
- def draw_actor_simple_status(actor, x, y)
- draw_actor_class(actor, x + 120, 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_hp(actor, x + 120, y + line_height * 1)
- draw_actor_mp(actor, x + 120, y + line_height * 2)
- end
- end
- class Window_MenuStatus < Window_Selectable
- def draw_item(index)
- actor = $game_party.members[index]
- enabled = $game_party.battle_members.include?(actor)
- rect = item_rect(index)
- draw_item_background(index)
- draw_actor_simple_status(actor, rect.x + 108, rect.y + line_height / 2)
- draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
- end
- end
复制代码
打开1号开关职业名为111,2为222,3为333,可以自己改,也可以按照格式自己加,这里只是举个例子的说...
然后就是以写在最下面的开关为准,如果最下面的开关打开了,那么写在上面的开关开着也没用的说... |
评分
-
查看全部评分
|