Skip to content

Commit

Permalink
#46 - crit damage is not calculated correctly
Browse files Browse the repository at this point in the history
using new function in automap
  • Loading branch information
maurezen committed Mar 28, 2019
1 parent 5ceaaed commit e518574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function autoMap() {
//START CALCULATING DAMAGES:
var AutoStance = getPageSetting('AutoStance');
//calculate crits (baseDamage was calced in function autoStance) this is a weighted average of nonCrit + Crit. (somewhere in the middle)
ourBaseDamage = (baseDamage * (1-getPlayerCritChance()) + (baseDamage * getPlayerCritChance() * getPlayerCritDamageMult()));
ourBaseDamage = applyCritMultiplier(baseDamage);
//calculate with map bonus
var mapbonusmulti = 1 + (0.20*game.global.mapBonus);
//(autostance2 has mapbonusmulti built in)
Expand Down

0 comments on commit e518574

Please sign in to comment.