module KOCKA module SNIPPET_MP#==============================================================================## CONFIGURATION ##==============================================================================# # Add the iD's of the actors that you want MP to be displayed here.# Ex. [1, 2, 3]# Cannot be set to nil or disabled.ACTORS = [] #==============================================================================## DO NOT TOUCH ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT ARE YOU DOING! ##==============================================================================# endendclass Window_BattleStatus include KOCKA::SNIPPET_MP def draw_gauge_area_with_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 72) draw_actor_mp(actor, rect.x + 82, rect.y, 64) if ACTORS.include?(actor.id) draw_actor_tp(actor, rect.x + 156, rect.y, 64) end def draw_gauge_area_without_tp(rect, actor) draw_actor_hp(actor, rect.x + 0, rect.y, 134) draw_actor_mp(actor, rect.x + 144, rect.y, 76) if ACTORS.include?(actor.id) endendclass Window_Base < Window include KOCKA::SNIPPET_MP def draw_actor_simple_status(actor, x, 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_class(actor, x + 120, y) draw_actor_hp(actor, x + 120, y + line_height * 1) draw_actor_mp(actor, x + 120, y + line_height * 2) if ACTORS.include?(actor.id) endend