Skip to content

Commit

Permalink
Add Prosperity Skill Levels Values
Browse files Browse the repository at this point in the history
  • Loading branch information
happypurpleduck committed Sep 16, 2019
1 parent 1607b7c commit 1c41d80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/global_const.js
Original file line number Diff line number Diff line change
Expand Up @@ -1911,6 +1911,11 @@ var skillAmounts = {
},
"normalHigo": {
"S": [0.5, 0.8, 1.1, 1.4, 1.7, 2.0, 2.3, 2.6, 2.7, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0]
},
"darkOpusElementATK": {
//per turn increase, maximum 10 turns
//"L": [0.0055, 0.0060, 0.0065, 0.0070, 0.0075, 0.0080, 0.0085, 0.0090, 0.0095, 0.0100, 0.0105, 0.0110, 0.0115, 0.0120, 0.0125, 0.0130, 0.0135, 0.0140, 0.0145, 0.0150],
"L": [0.055, 0.060, 0.065, 0.070, 0.075, 0.080, 0.085, 0.090, 0.095, 0.100, 0.105, 0.110, 0.115, 0.120, 0.125, 0.130, 0.135, 0.140, 0.145, 0.150],
}
};

Expand Down
4 changes: 2 additions & 2 deletions src/global_logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -2026,9 +2026,9 @@ module.exports.addSkilldataToTotals = function (totals, comb, arml, buff) {
totals[key]["magna"] += comb[i] * skillAmounts["magna"][amount][slv - 1];
}
} else if (stype == 'opusnormalElement') {
totals[key][stype] += 0.15;
totals[key][stype] += skillAmounts["darkOpusElementATK"][amount][slv - 1];
} else if (stype == 'opusmagnaElement') {
totals[key][stype] += 0.15;
totals[key][stype] += skillAmounts["darkOpusElementATK"][amount][slv - 1];
} else if (stype == 'shinTenNoInori') {
totals[key][stype] = [amount, Math.max(totals[key][stype][1], arm[skillkey + "Detail"])];
} else {
Expand Down

0 comments on commit 1c41d80

Please sign in to comment.