Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old June 19, 2020, 16:07   #22
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,796
PowerWyrm is on a distinguished road
In critical_melee():

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

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 (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reviving Iso-Angband, an isometric view addon for Angband Hajo Development 111 August 3, 2014 19:44

All times are GMT +1. The time now is 16:39.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.