#==============================================================================
# ■ Window_Target
#------------------------------------------------------------------------------
# 物品画面与特技画面的、使用对像角色选择窗口。
#==============================================================================
class Window_Target_cta < Window_Selectable
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
super(10, 12, 640 , 480 )
self.contents = Bitmap.new(width - 32, height - 32)
self.z += 10
self.opacity = 0
self.windowskin = RPG::Cache.windowskin("55")
@item_max = 3
@column_max = 3
refresh
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.name = "新宋体"
self.contents.font.size = 16
self.contents.font.color = Color.new(0, 255, 0, 255)
if $转生目标a == 1
self.contents.draw_text(150, 155, 54, 54, "晓话剑",0)
self.contents.draw_text(150, 177, 54, 54, "魔 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[983] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[982] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[981] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "晓话剑:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "小则斗转星移大则毁天灭地",0)
self.contents.draw_text(135, 300, 254, 54, "忽视物理攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[45] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
elsif $转生目标a == 2
self.contents.draw_text(150, 155, 54, 54, "诛仙衣",0)
self.contents.draw_text(150, 177, 54, 54, "仙 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[980] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[979] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[978] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "诛仙衣:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "降低敌人的仙法抗性",0)
self.contents.draw_text(135, 300, 254, 54, "忽视仙法攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[47] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
elsif $转生目标a == 3
self.contents.draw_text(150, 155, 54, 54, "夜明珠",0)
self.contents.draw_text(150, 177, 54, 54, "人 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[977] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[976] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[975] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "夜明珠:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "降低敌人的人法抗性",0)
self.contents.draw_text(135, 300, 254, 54, "忽视人法攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[57] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
end
end
#--------------------------------------------------------------------------
# ● 刷新光标矩形
#--------------------------------------------------------------------------
def update_cursor_rect
# 光标位置 -1 为全选、-2 以下为单独选择 (使用者自身)
if @index <= 2
self.cursor_rect.set(127+(95*@index),110, 48, 48)
end
end
end
#==============================================================================
# ■ Window_Target
#------------------------------------------------------------------------------
# 物品画面与特技画面的、使用对像角色选择窗口。
#==============================================================================
class Window_Target_cta < Window_Selectable
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
super(10, 12, 640 , 480 )
self.contents = Bitmap.new(width - 32, height - 32)
self.z += 10
self.opacity = 0
self.windowskin = RPG::Cache.windowskin("55")
@item_max = 3
@column_max = 3
refresh
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.name = "新宋体"
self.contents.font.size = 16
self.contents.font.color = Color.new(0, 255, 0, 255)
if $转生目标a == 1
self.contents.draw_text(150, 155, 54, 54, "晓话剑",0)
self.contents.draw_text(150, 177, 54, 54, "魔 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[983] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[982] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[981] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "晓话剑:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "小则斗转星移大则毁天灭地",0)
self.contents.draw_text(135, 300, 254, 54, "忽视物理攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[45] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
elsif $转生目标a == 2
self.contents.draw_text(150, 155, 54, 54, "诛仙衣",0)
self.contents.draw_text(150, 177, 54, 54, "仙 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[980] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[979] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[978] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "诛仙衣:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "降低敌人的仙法抗性",0)
self.contents.draw_text(135, 300, 254, 54, "忽视仙法攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[47] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
elsif $转生目标a == 3
self.contents.draw_text(150, 155, 54, 54, "夜明珠",0)
self.contents.draw_text(150, 177, 54, 54, "人 界",0)
self.contents.draw_text(150, 197, 54, 54, "暂未开通",0)
self.contents.draw_text(300,155, 54, 54, $game_variables[977] .to_s)
self.contents.draw_text(300,177, 54, 54, $game_variables[976] .to_s)
self.contents.draw_text(300,197, 54, 54, $game_variables[975] .to_s)
self.contents.font.color = Color.new(219, 165, 64, 255)
self.contents.draw_text(135, 240, 254, 54, "夜明珠:原主人 晓晓",0)
self.contents.draw_text(135, 260, 254, 54, "原是晓晓贴身之物后赠于你",0)
self.contents.draw_text(135, 280, 254, 54, "降低敌人的人法抗性",0)
self.contents.draw_text(135, 300, 254, 54, "忽视人法攻击 +",0)
self.contents.font.color = Color.new(219, 0, 250, 255)
self.contents.draw_text(265,300, 54, 54, $game_variables[57] .to_s)
self.contents.draw_text(285, 300, 254, 54, "%",0)
end
end
#--------------------------------------------------------------------------
# ● 刷新光标矩形
#--------------------------------------------------------------------------
def update_cursor_rect
# 光标位置 -1 为全选、-2 以下为单独选择 (使用者自身)
if @index <= 2
self.cursor_rect.set(127+(95*@index),110, 48, 48)
end
end
end