Skip to content

Commit

Permalink
Merge pull request #352 from h-yasha/prosperity
Browse files Browse the repository at this point in the history
Add Prosperity Pendulum (Element ATK UP) Skill Levels Value
  • Loading branch information
happypurpleduck authored Sep 16, 2019
2 parents 9c10dfc + 7d426b3 commit 59bf41b
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 @@ -1926,6 +1926,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 @@ -2051,9 +2051,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 59bf41b

Please sign in to comment.