Showing
1 changed file
with
18 additions
and
0 deletions
... | @@ -152,6 +152,8 @@ module.exports = function(app){ | ... | @@ -152,6 +152,8 @@ module.exports = function(app){ |
152 | }else{ | 152 | }else{ |
153 | img_tier = "/ranked-emblems/Emblem_Iron.png" | 153 | img_tier = "/ranked-emblems/Emblem_Iron.png" |
154 | } | 154 | } |
155 | + | ||
156 | + | ||
155 | } | 157 | } |
156 | champ_name[champ_name.length] = "total"; | 158 | champ_name[champ_name.length] = "total"; |
157 | var temp_id; | 159 | var temp_id; |
... | @@ -617,6 +619,22 @@ module.exports = function(app){ | ... | @@ -617,6 +619,22 @@ module.exports = function(app){ |
617 | 619 | ||
618 | 620 | ||
619 | 621 | ||
622 | + var summoner_info = { | ||
623 | + "summoner_Name" : summoner, | ||
624 | + "summoner_tierimage" : img_tier, | ||
625 | + "summoner_tier" : tier, | ||
626 | + "summoner_rank" : rank, | ||
627 | + "summoner_leaguepoint" : leaguePoints, | ||
628 | + "summoner_wins" : wins, | ||
629 | + "summoner_losses" : losses, | ||
630 | + "summoner_winrate" : ((wins/(wins+losses))*100).toFixed(2), | ||
631 | + "summoner_carry" : (win/losses*2).toFixed(2) | ||
632 | + }; | ||
633 | + | ||
634 | + var rotation_info = { | ||
635 | + "rotation_image" : rotation_pic, | ||
636 | + "rotation_image_newbie" : rotation_pic_newbie | ||
637 | + }; | ||
620 | 638 | ||
621 | 639 | ||
622 | 640 | ... | ... |
-
Please register or login to post a comment