This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "score" to internal observation.
What exactly NH means by score is a bit context-dependent. The value u.urexp factors into botl_score() in botl.c (if enabled) as well as into the computation in really_done() in end.c. In many cases, the result of botl_score() will be what really_done() reports as the end-of-game score. In many other cases, it won't: E.g. after dying (not quitting, escaping, ascending or bug-related exits), score for acquired gold is reduced by 10%. Also if escaped or ascended, valuable gems, artefacts etc will give extra score. The computation in end.c adds to u.urexp, which will reflect the end-of-game score for a few briefs "steps" at the very end of the game (but not before).
- Loading branch information
Heinrich Kuttler
committed
Jun 4, 2021
1 parent
8f13c34
commit c5f077c
Showing
3 changed files
with
9 additions
and
2 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
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