Thread: Angband 4.2.1
View Single Post
Old June 19, 2020, 16:07   #71
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,806
PowerWyrm is on a distinguished road
In critical_melee():

Code:
int chance = weight + (p->state.to_h + plus + debuff_to_hit) * 5 + (p->state.skills[SKILL_TO_HIT_MELEE] - 60);
In calculate_melee_crits():

Code:
int k, to_crit = weight + 5 * (state->to_h + plus) + 3 * state->skills[SKILL_TO_HIT_MELEE] - 60;
Second line kept the factor of 3 that was removed from the first line.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote