Spoiler


module BattleLuna module Addon ENEMY_TARGET_WINDOW = { :enable => true, :x => 80, :y => 340, :z => 300, :width => 230, :height => 120, #--- :padding => 12, :col_max => 1, #--- :align => 0, :back_type => 0, # 0 - normal window, 1 - gradient, 2 - picture :background_variable => 1, # Set a Variable to change Window # BG Type 0 settings :type_0 => { :opacity => 255, }, # BG Type 1 settings :type_1 => { :color1 => [0, 0, 0, 128], :color2 => [0, 0, 0, 128], :vertical => true, }, # BG Type 2 settings :type_2 => { :picture => "Party_Commands", # Graphics/System :opacity => 255, :offset_x => 0, :offset_y => 0, }, } # ENEMY_TARGET_WINDOW endend


class Window_BattleEnemy < Window_Selectable #-------------------------------------------------------------------------- # * Get Enemy Object #-------------------------------------------------------------------------- def enemy ; @data[@index] end #-------------------------------------------------------------------------- # * Draw Item #-------------------------------------------------------------------------- def draw_item(index) change_color(normal_color) draw_text(item_rect_for_text(index), @data[index].name) end end