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-18 05:00:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1922929b5799b05d0ef3847697d9bc7e5f174e26
1922929b
1 parent
99852b26
require 경로 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app/node/model/character.js
app/node/model/character.js
View file @
1922929
...
...
@@ -61,8 +61,8 @@ const getCharacterInfo = async function(nickname, characterCode) {
const
dom
=
new
JSDOM
(
resp
.
data
);
const
$
=
(
require
(
'jquery'
))(
dom
.
window
);
const
jobModel
=
require
(
'.
./model
/job'
);
const
statModel
=
require
(
'.
./model
/stat'
);
const
jobModel
=
require
(
'./job'
);
const
statModel
=
require
(
'./stat'
);
character
.
job
=
$
(
".tab01_con_wrap .table_style01:eq(0) tbody tr:eq(0) td:eq(1) span"
).
text
();
character
.
level
=
parseInt
(
$
(
".char_info dl:eq(0) dd"
).
text
().
substring
(
3
));
...
...
@@ -172,7 +172,7 @@ const analyzeEquipment = async function(nickname, characterCode, job) {
}
// 장비 분석
const
jobModel
=
require
(
'.
./model
/job'
);
const
jobModel
=
require
(
'./job'
);
let
damagePercent
=
0
;
let
majorPercent
=
0
;
...
...
Please
register
or
login
to post a comment