이상원

model

...@@ -99,7 +99,7 @@ check.detaildata = function(id,region,mode,callback){ ...@@ -99,7 +99,7 @@ check.detaildata = function(id,region,mode,callback){
99 'rating' :"", // Rating 99 'rating' :"", // Rating
100 'bestrate' : "", // Best Rating 100 'bestrate' : "", // Best Rating
101 'dmg' : "", // Avg Dmg per Match 101 'dmg' : "", // Avg Dmg per Match
102 - 'head' : "", // Headshot Kills Pg 102 + 'head' : "", //Headshot Kill Ratio
103 'heal' : "", // Heals Pg 103 'heal' : "", // Heals Pg
104 'kill' : "", // Kills Pg 104 'kill' : "", // Kills Pg
105 'distance' : "", // Move Distance Pg 105 'distance' : "", // Move Distance Pg
...@@ -130,7 +130,7 @@ check.detaildata = function(id,region,mode,callback){ ...@@ -130,7 +130,7 @@ check.detaildata = function(id,region,mode,callback){
130 result['bestrate'] = data['stats'][temp]['stats'][i]['displayValue']; 130 result['bestrate'] = data['stats'][temp]['stats'][i]['displayValue'];
131 }else if(data['stats'][temp]['stats'][i]['label']=='Avg Dmg per Match'){ 131 }else if(data['stats'][temp]['stats'][i]['label']=='Avg Dmg per Match'){
132 result['dmg'] = data['stats'][temp]['stats'][i]['displayValue']; 132 result['dmg'] = data['stats'][temp]['stats'][i]['displayValue'];
133 - }else if(data['stats'][temp]['stats'][i]['label']=='Headshot Kills Pg'){ 133 + }else if(data['stats'][temp]['stats'][i]['label']=='Headshot Kill Ratio'){
134 result['head'] = data['stats'][temp]['stats'][i]['displayValue']; 134 result['head'] = data['stats'][temp]['stats'][i]['displayValue'];
135 }else if(data['stats'][temp]['stats'][i]['label']=='Heals Pg'){ 135 }else if(data['stats'][temp]['stats'][i]['label']=='Heals Pg'){
136 result['heal'] = data['stats'][temp]['stats'][i]['displayValue']; 136 result['heal'] = data['stats'][temp]['stats'][i]['displayValue'];
......