양윤지

Add defaultMMR

...@@ -133,6 +133,34 @@ var summonerLevel; //소환사 레벨 ...@@ -133,6 +133,34 @@ var summonerLevel; //소환사 레벨
133 champ_pic[j] = temp_pic; 133 champ_pic[j] = temp_pic;
134 } 134 }
135 } 135 }
136 + const defaultMMR = [
137 + {"mmr" : 900, "tier" : "iron", "rank": 4}
138 + {"mmr" : 950, "tier" : "iron", "rank": 3}
139 + {"mmr" : 1000, "tier" : "iron", "rank": 2}
140 + {"mmr" : 1050, "tier" : "iron", "rank": 1}
141 + { "mmr" : 1100, "tier" : "bronze", "rank": 4 },
142 + { "mmr" : 1150, "tier" : "bronze", "rank": 3 },
143 + { "mmr" : 1200, "tier" : "bronze", "rank": 2 },
144 + { "mmr" : 1250, "tier" : "bronze", "rank": 1 },
145 + { "mmr" : 1300, "tier" : "silver", "rank": 4 },
146 + { "mmr" : 1350, "tier" : "silver", "rank": 3 },
147 + { "mmr" : 1400, "tier" : "silver", "rank": 2 },
148 + { "mmr" : 1450, "tier" : "silver", "rank": 1 },
149 + { "mmr" : 1500, "tier" : "gold", "rank": 4 },
150 + { "mmr" : 1550, "tier" : "gold", "rank": 3 },
151 + { "mmr" : 1600, "tier" : "gold", "rank": 2 },
152 + { "mmr" : 1650, "tier" : "gold", "rank": 1 },
153 + { "mmr" : 1700, "tier" : "platinum", "rank": 4 },
154 + { "mmr" : 1750, "tier" : "platinum", "rank": 3 },
155 + { "mmr" : 1800, "tier" : "platinum", "rank": 2 },
156 + { "mmr" : 1850, "tier" : "platinum", "rank": 1 },
157 + { "mmr" : 1900, "tier" : "diamond", "rank": 4 },
158 + { "mmr" : 1950, "tier" : "diamond", "rank": 3 },
159 + { "mmr" : 2000, "tier" : "diamond", "rank": 2 },
160 + { "mmr" : 2050, "tier" : "diamond", "rank": 1 },
161 + { "mmr" : 2100, "tier" : "master", "rank": 1 },
162 + { "mmr" : 2700, "tier" : "challenger", "rank": 1 },
163 + ]
136 164
137 res.render('index', { title: req.params.username , 165 res.render('index', { title: req.params.username ,
138 c_id: champ_id, 166 c_id: champ_id,
......