Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_Base < Window
- EXP_GCOLOR_1 = Color.new(0,0,128)
- EXP_GCOLOR_2 = Color.new(0,191,255)
- EXP_GCOLOR_3 = Color.new(152,251,152)
- def draw_actor_exp(actor, x, y, width = 60)
- gwidth = width * actor.exp / actor.next_level_exp
- cg = neo_gauge_back_color
- c1, c2, c3 = cg[0], cg[1], cg[2]
- draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + line_height - 8 +
- HPMP_GAUGE_Y_PLUS, width, HPMP_GAUGE_HEIGHT, c1, c2, c3)
- (1..3).each {|i| eval("c#{i} = EXP_GCOLOR_#{i}")}
- draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + line_height - 8 +
- HPMP_GAUGE_Y_PLUS, gwidth, HPMP_GAUGE_HEIGHT, c1, c2, c3, false, false,
- width, 30)
- change_color(system_color)
- draw_text(x, y, 30, line_height, PAC::MM::Exp_a)
- draw_current_and_max_values(x, y, width, actor.exp, actor.next_level_exp,
- normal_color, normal_color)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement