Showing
1 changed file
with
11 additions
and
3 deletions
... | @@ -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); | ... | ... |
-
Please register or login to post a comment