Skip to content

Make weaker artifacts less likely for better sacrifices#1443

Open
NDusN1 wants to merge 1 commit intoNetHack:NetHack-3.7from
NDusN1:NetHack-3.7
Open

Make weaker artifacts less likely for better sacrifices#1443
NDusN1 wants to merge 1 commit intoNetHack:NetHack-3.7from
NDusN1:NetHack-3.7

Conversation

@NDusN1
Copy link

@NDusN1 NDusN1 commented Sep 7, 2025

It's weird that, with the current code, two sacrifice gifts meeting the same criteria has an equal chance of generating from a high-value sacrifice, which is noticeable from this short quote from #1429:

test your RNG with high-difficulty corpses that can still vend more early-game artifacts.

This PR makes it so that the chance of an artifact generating would be affected by its innate gift value versus max_giftvalue, the bigger the difference, the less the chance: a difference 10 or above would mean extremely unlikely.

@NullCGT
Copy link
Contributor

NullCGT commented Sep 9, 2025

Seconded. This is something I've run into frequently in my recent 3.7 games, and it's very frustrating.

@chappg
Copy link
Contributor

chappg commented Sep 10, 2025

I like the change and also have frustrations at always using early-game artifacts for most of my ascension runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants