#--------------------------------------------------------------------------
# ● 绘制简单的状态
#--------------------------------------------------------------------------
def draw_actor_simple_status(actor, x, y)
draw_actor_name(actor, x, y)
draw_actor_class(actor, x + 120, y)
draw_actor_hp(actor, x, y + line_height * 1) #体力值
draw_actor_mp(actor, x, y + line_height * 2) #魔力值
draw_actor_param(actor, x, y + line_height * 3 + 0,2) #物理攻击
draw_actor_param(actor, x, y + line_height * 4 + 0,6) #敏捷速度
draw_actor_param(actor, x, y + line_height * 5 + 0,7) #幸运运气
draw_actor_xparam(actor, x, y + line_height * 6 + 0,0) #命中几率
draw_actor_xparam(actor, x, y + line_height * 7 + 0,1) #闪避几率
draw_actor_xparam(actor, x, y + line_height * 8 + 0,2) #必杀几率
draw_actor_xparam(actor, x, y + line_height * 10 + 0,6) #反击几率
draw_actor_xparam(actor, x, y + line_height * 11 + 0,7) #HP再生速度
draw_actor_sparam(actor, x, y + line_height * 13 + 0,6) #物理伤害加成
end
#--------------------------------------------------------------------------
# ● 绘制能力值
#--------------------------------------------------------------------------
def draw_actor_param(actor, x, y, param_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(param_id))
draw_text(x, y, 120, line_height * 1, "命中几率")
draw_text(x, y, 120, line_height * 1, "闪避几率")
draw_text(x, y, 120, line_height * 2, "必杀几率")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.param(param_id), 2)
end
#--------------------------------------------------------------------------
# ● 绘制能力值 xparam
#--------------------------------------------------------------------------
def draw_actor_xparam(actor, x, y, xparam_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(xparam_id))
draw_text(x, y, 120, line_height * 6, "反击几率")
draw_text(x, y, 120, line_height * 7, "HP再生速度")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.xparam(xparam_id))
end
#--------------------------------------------------------------------------
# ● 绘制能力值 sparam
#--------------------------------------------------------------------------
def draw_actor_sparam(actor, x, y, sparam_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(sparam_id))
draw_text(x, y, 120, line_height * 6, "物理伤害加成")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.sparam(sparam_id))
end
#--------------------------------------------------------------------------
# ● 绘制简单的状态
#--------------------------------------------------------------------------
def draw_actor_simple_status(actor, x, y)
draw_actor_name(actor, x, y)
draw_actor_class(actor, x + 120, y)
draw_actor_hp(actor, x, y + line_height * 1) #体力值
draw_actor_mp(actor, x, y + line_height * 2) #魔力值
draw_actor_param(actor, x, y + line_height * 3 + 0,2) #物理攻击
draw_actor_param(actor, x, y + line_height * 4 + 0,6) #敏捷速度
draw_actor_param(actor, x, y + line_height * 5 + 0,7) #幸运运气
draw_actor_xparam(actor, x, y + line_height * 6 + 0,0) #命中几率
draw_actor_xparam(actor, x, y + line_height * 7 + 0,1) #闪避几率
draw_actor_xparam(actor, x, y + line_height * 8 + 0,2) #必杀几率
draw_actor_xparam(actor, x, y + line_height * 10 + 0,6) #反击几率
draw_actor_xparam(actor, x, y + line_height * 11 + 0,7) #HP再生速度
draw_actor_sparam(actor, x, y + line_height * 13 + 0,6) #物理伤害加成
end
#--------------------------------------------------------------------------
# ● 绘制能力值
#--------------------------------------------------------------------------
def draw_actor_param(actor, x, y, param_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(param_id))
draw_text(x, y, 120, line_height * 1, "命中几率")
draw_text(x, y, 120, line_height * 1, "闪避几率")
draw_text(x, y, 120, line_height * 2, "必杀几率")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.param(param_id), 2)
end
#--------------------------------------------------------------------------
# ● 绘制能力值 xparam
#--------------------------------------------------------------------------
def draw_actor_xparam(actor, x, y, xparam_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(xparam_id))
draw_text(x, y, 120, line_height * 6, "反击几率")
draw_text(x, y, 120, line_height * 7, "HP再生速度")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.xparam(xparam_id))
end
#--------------------------------------------------------------------------
# ● 绘制能力值 sparam
#--------------------------------------------------------------------------
def draw_actor_sparam(actor, x, y, sparam_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(sparam_id))
draw_text(x, y, 120, line_height * 6, "物理伤害加成")
change_color(normal_color)
draw_text(x + 120, y, 36, line_height, actor.sparam(sparam_id))
end