오윤석

fix: 하이퍼스탯 주스탯을 찍지 않은 경우 NaN으로 처리되는 오류

...@@ -26,10 +26,18 @@ const getCharacterInfo = async function(nickname, characterCode) { ...@@ -26,10 +26,18 @@ const getCharacterInfo = async function(nickname, characterCode) {
26 } 26 }
27 27
28 const character = { 28 const character = {
29 - 'nickname': nickname, 29 + nickname: nickname,
30 - 'characterCode': characterCode 30 + characterCode: characterCode
31 + };
32 + const stats = {
33 + major: 0,
34 + minor: 0,
35 + majorHyper: 0,
36 + criticalDamage: 0,
37 + bossAttackDamage: 0,
38 + ignoreGuard: 0,
39 + statAttackPower: 0
31 }; 40 };
32 - const stats = {};
33 41
34 const { JSDOM } = require('jsdom'); 42 const { JSDOM } = require('jsdom');
35 const dom = new JSDOM(resp.data); 43 const dom = new JSDOM(resp.data);
......