elsif @new_weapon.atk == 0 and @new_weapon.pdef == 0 and @new_weapon.mdef ==0 and @new_weapon.dex_plus == 0 and @new_weapon.str_plus ==0 and @new_weapon.int_plus == 0 and @new_weapon.agi_plus ==0
elsif @new_weapon.atk > @new_weapon.pdef and @new_weapon.atk > @new_weapon.mdef
$start_name = "顽强·"
elsif @new_weapon.mdef > @new_weapon.atk and @new_weapon.mdef > @new_weapon.pdef
$start_name = "灵冥·"
elsif @new_weapon.pdef > @new_weapon.atk and @new_weapon.pdef > @new_weapon.mdef
$start_name = "绝气·"
elsif @new_weapon.pdef == @new_weapon.atk and @new_weapon.atk == @new_weapon.mdef
$start_name = "王者·"
else
$start_name = "普通·"
end
if @new_weapon.atk != 0 and @new_weapon.pdef != 0 and @new_weapon.mdef != 0 and @new_weapon.dex_plus != 0 and @new_weapon.str_plus != 0 and @new_weapon.int_plus != 0 and @new_weapon.agi_plus != 0
if @new_weapon.pdef == @new_weapon.mdef
$first_name += "天护"
end
if @new_weapon.str_plus > @new_weapon.dex_plus and @new_weapon.str_plus > @new_weapon.int_plus
$first_name += "力量"
end
if @new_weapon.int_plus > @new_weapon.str_plus
$first_name += "魔力"
end
if @new_weapon.agi_plus > @new_weapon.dex_plus
$first_name += "闪电"
end
if @new_weapon.dex_plus > @new_weapon.str_plus and @new_weapon.dex_plus > @new_weapon.int_plus
$first_name += "灵气"
end
if @new_weapon.str_plus == @new_weapon.dex_plus and @new_weapon.dex_plus == @new_weapon.agi_plus and @new_weapon.dex_plus == @new_weapon.int_plus
$first_name += "灵王之"
end
if @new_weapon.str_plus == @new_weapon.int_plus
$first_name += "玉龙"
end
if @new_weapon.agi_plus == @new_weapon.dex_plus
$first_name += "神瞬"
end
if @new_weapon.dex_plus > @new_weapon.str_plus and @new_weapon.dex_plus > @new_weapon.int_plus
$first_name += "流光"
end
if @new_weapon.atk == (@new_weapon.dex_plus + @new_weapon.agi_plus)/2
$first_name += "快击"
end
elsif @new_weapon.atk == 0 and @new_weapon.pdef == 0 and @new_weapon.mdef == 0 and @new_weapon.dex_plus == 0 and @new_weapon.str_plus == 0 and @new_weapon.int_plus == 0 and @new_weapon.agi_plus == 0
if @new_weapon.atk == 0 and @new_weapon.pdef == 0 and @new_weapon.mdef ==0 and @new_weapon.dex_plus == 0 and @new_weapon.str_plus ==0 and @new_weapon.int_plus == 0 and @new_weapon.agi_plus ==0
$first_des = ",无用"
elsif @new_weapon.dex_plus != 0 and @new_weapon.str_plus !=0 and @new_weapon.int_plus != 0 and @new_weapon.agi_plus !=0
$first_des = ",提升"
else
$first_des = ""
end
if @new_weapon.atk > (@new_weapon.pdef + @new_weapon.mdef)/2