Skip to content

Commit

Permalink
Artifacts gifts only unrestrict skill for the first gift.
Browse files Browse the repository at this point in the history
Another altar nerf - inspired by some ideas that Loggers mentioned in IRC.

Note: Crowning gifts are still unrestricted as normal.
  • Loading branch information
elunna committed Dec 5, 2024
1 parent 05ff061 commit 88e8b30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pray.c
Original file line number Diff line number Diff line change
Expand Up @@ -2086,8 +2086,10 @@ bestow_artifact(void)
"was bestowed with %s by %s",
artiname(otmp->oartifact),
align_gname(u.ualign.type));
/* make sure we can use this weapon */
unrestrict_weapon_skill(weapon_type(otmp));
/* make sure we can use this weapon
* (only for the first gift) */
if (u.ugifts == 1)
unrestrict_weapon_skill(weapon_type(otmp));
if (!Hallucination && !Blind) {
otmp->dknown = 1;
makeknown(otmp->otyp);
Expand Down

0 comments on commit 88e8b30

Please sign in to comment.