Skip to content

Commit

Permalink
Fixing heal percentage on staves of healing
Browse files Browse the repository at this point in the history
  • Loading branch information
flend committed Oct 28, 2018
1 parent 8e1a70f commit 39f62c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Brogue Source/BrogueCode/Items.c
Expand Up @@ -2350,7 +2350,7 @@ void itemDetails(char *buf, item *theItem) {
fp_staffEntrancementDuration(enchant + FP_FACTOR));
break;
case STAFF_HEALING:
if (enchant < 10) {
if (enchant >> FP_BASE < 10) {
sprintf(buf2, "This staff will heal its target by %i%% of its maximum health. (If the staff is enchanted, this will increase to %i%%.)",
theItem->enchant1 * 10,
(theItem->enchant1 + 1) * 10);
Expand Down

0 comments on commit 39f62c2

Please sign in to comment.