forked from crawl/crawl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix xv to hit % when wielding sniper, and always bypass shield
Recent to hit changes introduced a bug when hit chance is AUTOMATIC_HIT causing the % to hit to display as 1%. While fixing this I noticed there is a very tiny (but still non-zero) chance for AUTOMATIC_HIT attacks to be blocked by a shield. Since this is either unexpected or should be rather more significant, it seems easiest to just bypass shield checks as well for something like Sniper.
- Loading branch information
1 parent
ec18552
commit 7cc9653
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters