Toggle navigation
Toggle navigation
This project
Loading...
Sign in
오윤석
/
maplespec.ga
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
4
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오윤석
2020-06-08 17:49:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0407c3c94ee4df63a55ef01dabd3fd4e1d06f355
0407c3c9
1 parent
e2ff511b
fix: 하이퍼스탯 주스탯을 찍지 않은 경우 NaN으로 처리되는 오류
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
app/node/routes/character.js
app/node/routes/character.js
View file @
0407c3c
...
...
@@ -26,10 +26,18 @@ const getCharacterInfo = async function(nickname, characterCode) {
}
const
character
=
{
'nickname'
:
nickname
,
'characterCode'
:
characterCode
nickname
:
nickname
,
characterCode
:
characterCode
};
const
stats
=
{
major
:
0
,
minor
:
0
,
majorHyper
:
0
,
criticalDamage
:
0
,
bossAttackDamage
:
0
,
ignoreGuard
:
0
,
statAttackPower
:
0
};
const
stats
=
{};
const
{
JSDOM
}
=
require
(
'jsdom'
);
const
dom
=
new
JSDOM
(
resp
.
data
);
...
...
Please
register
or
login
to post a comment