Skip to content

Commit

Permalink
Weapons of rage auto-identify on wielding. Credit to mobileuser and U…
Browse files Browse the repository at this point in the history
…mbire for the wielding messages.
  • Loading branch information
elunna committed Oct 13, 2023
1 parent ef7a852 commit d5c45a1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/wield.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,12 @@ register struct obj *obj;
Your("%s suppresses your fear with rage!", xname(uwep));
context.botl = 1;
uwep->oprops_known |= ITEM_RAGE;
} else if (!(uwep->oprops_known & ITEM_RAGE)) {
if (!Blind)
You_feel("a red mist descending on you!");
else
You_feel("like magma is coursing through your veins!");
uwep->oprops_known |= ITEM_RAGE;
}
EFearless |= W_WEP;
}
Expand Down Expand Up @@ -662,6 +668,12 @@ register struct obj *obj;
Your("%s suppresses your fear with rage!", xname(uwep));
context.botl = 1;
uswapwep->oprops_known |= ITEM_RAGE;
} else if (!(uwep->oprops_known & ITEM_RAGE)) {
if (!Blind)
You_feel("a red mist descending on you!");
else
You_feel("like magma is coursing through your veins!");
uwep->oprops_known |= ITEM_RAGE;
}
EFearless |= W_SWAPWEP;
}
Expand Down

0 comments on commit d5c45a1

Please sign in to comment.