mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-27 07:52:25 +01:00
Roll multiple dice for gold scroll gold, not one.
Different distributions for a pile vs. one at a time seems wrong.
This commit is contained in:
parent
28104ddc50
commit
e740f4ff15
1 changed files with 1 additions and 1 deletions
|
@ -1690,7 +1690,7 @@ struct obj * obj;
|
|||
}
|
||||
/* gold scrolls of law turn a small randomize amount of gold (and were guaranteed to turn into gold pieces) */
|
||||
if (obj->otyp == SCR_GOLD_SCROLL_OF_LAW) {
|
||||
otmp->quan = rnd(50 * obj->quan) + 50 * obj->quan;
|
||||
otmp->quan = d(obj->quan,50) + 50 * obj->quan;
|
||||
}
|
||||
/* crocodile corpses were turned into shoes */
|
||||
if (obj->otyp == CORPSE && obj->corpsenm == PM_CROCODILE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue