赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 4 |
经验 | 201687 |
最后登录 | 2024-7-14 |
在线时间 | 125 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 431
- 在线时间
- 125 小时
- 注册时间
- 2006-11-2
- 帖子
- 1200
|
Window_BattleStatus
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_x = i * 160 + 4
draw_actor_name(actor, actor_x, 0)
draw_actor_hp(actor, actor_x, 32, 120)
draw_actor_sp(actor, actor_x, 64, 120)
if @level_up_flags
self.contents.font.color = normal_color
self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_x, 96)
end
end
end
改为
[quote] def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_y = i * 60 + 4 #60可以改为想要的数字 是间隔
draw_actor_name(actor, actor_x, 0)
draw_actor_hp(actor, 32, actor_y, 120)
draw_actor_sp(actor, 32, actor_y+32, 120)
if @level_up_flags
self.contents.font.color = normal_color
self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_x, 96)
end
end
end
[/quote]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|