class Window_Status PARAM_NAME_WIDTH = 120 #-------------------------------------------------------------------------- # ● [子类重载]绘制能力值 #-------------------------------------------------------------------------- def draw_actor_param(actor, x, y, param_id) change_color(system_color) draw_text(x, y, 120, line_height, Vocab::param(param_id)) change_color(normal_color) draw_text(x + PARAM_NAME_WIDTH, y, 36, line_height, actor.param(param_id), 2) end end
class Window_Status
PARAM_NAME_WIDTH = 120
#--------------------------------------------------------------------------
# ● [子类重载]绘制能力值
#--------------------------------------------------------------------------
def draw_actor_param(actor, x, y, param_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(param_id))
change_color(normal_color)
draw_text(x + PARAM_NAME_WIDTH, y, 36, line_height, actor.param(param_id), 2)
end
end
插入这个,把PARAM_NAME_WIDTH改成你喜欢的值 |