1
0
Fork 0
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:
chris 2022-06-06 14:47:39 -04:00
parent 28104ddc50
commit e740f4ff15

View file

@ -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) {