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-11 20:11:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2b0a4cd10e7b5cbc89910d31e2de526b89f20cf4
2b0a4cd1
1 parent
21684074
스펙 보정값 반영
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app/node/routes/character.js
app/node/routes/character.js
View file @
2b0a4cd
...
...
@@ -262,7 +262,7 @@ const analyzeStats = function(characterInfo, analysisEquipment) {
boss
:
characterInfo
.
stats
.
bossAttackDamage
},
finalDamage
:
job
.
stats
.
passive
.
finalDamage
,
criticalDamage
:
characterInfo
.
stats
.
criticalDamage
,
criticalDamage
:
characterInfo
.
stats
.
criticalDamage
+
jobDefault
.
stats
.
passive
.
criticalDamage
,
attackPower
:
{
pure
:
0
,
percent
:
analysisEquipment
.
attackPowerPercent
+
...
...
@@ -272,7 +272,8 @@ const analyzeStats = function(characterInfo, analysisEquipment) {
};
stats
.
major
.
added
=
characterInfo
.
stats
.
majorHyper
+
analysisEquipment
.
majorArcane
;
analysisEquipment
.
majorArcane
+
jobDefault
.
stats
.
passive
.
major
.
added
;
stats
.
major
.
pure
=
(
characterInfo
.
stats
.
major
-
stats
.
major
.
added
)
/
(
1
+
stats
.
major
.
percent
/
100
);
stats
.
attackPower
.
pure
=
characterInfo
.
stats
.
statAttackPower
*
100
/
(
characterInfo
.
stats
.
major
*
4
+
stats
.
minor
)
/
job
.
jobConst
/
weaponConst
/
(
1
+
stats
.
attackPower
.
percent
/
100
)
/
(
1
+
stats
.
damage
.
all
/
100
)
/
(
1
+
stats
.
finalDamage
/
100
);
...
...
Please
register
or
login
to post a comment