황성연

전체 데이터 매핑

......@@ -152,6 +152,8 @@ module.exports = function(app){
}else{
img_tier = "/ranked-emblems/Emblem_Iron.png"
}
}
champ_name[champ_name.length] = "total";
var temp_id;
......@@ -617,6 +619,22 @@ module.exports = function(app){
var summoner_info = {
"summoner_Name" : summoner,
"summoner_tierimage" : img_tier,
"summoner_tier" : tier,
"summoner_rank" : rank,
"summoner_leaguepoint" : leaguePoints,
"summoner_wins" : wins,
"summoner_losses" : losses,
"summoner_winrate" : ((wins/(wins+losses))*100).toFixed(2),
"summoner_carry" : (win/losses*2).toFixed(2)
};
var rotation_info = {
"rotation_image" : rotation_pic,
"rotation_image_newbie" : rotation_pic_newbie
};
......