#--------------------------------------------------------------------------
# * Draw MP
#--------------------------------------------------------------------------
def draw_actor_mp(actor, x, y, width = 124)
draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
change_color(system_color)
draw_text(x, y, 30, line_height, Vocab::mp_a)
draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
mp_color(actor), normal_color)
end
Here? Though, when I type
return here, it says "unexpected return"
I'm not seeing a show_actor_mp method.
you could change the mp to be read as say AP or ability/art points, and make it for weapon arts, that way you can use special skills at a cost, and get rid of the mp guage (well technicly anyways)
The skills used in the game are off the TP gauge (which I renamed SP
cause I didn't know what TP stood for)
EDIT: Never mind. I had return in the wrong place, but I got it.
🙂 Thanks!
How I initially had it:
#--------------------------------------------------------------------------
# * Draw MP
#--------------------------------------------------------------------------
return def draw_actor_mp(actor, x, y, width = 124)
draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
change_color(system_color)
draw_text(x, y, 30, line_height, Vocab::mp_a)
draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
mp_color(actor), normal_color)
end
How it's supposed to be:
#--------------------------------------------------------------------------
# * Draw MP
#--------------------------------------------------------------------------
def draw_actor_mp(actor, x, y, width = 124)
return
draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
change_color(system_color)
draw_text(x, y, 30, line_height, Vocab::mp_a)
draw_current_and_max_values(x, y, width, actor.mp, actor.mmp,
mp_color(actor), normal_color)
end