Wands of wishing start at (0:1) and can recharge only one charge

Part 2 of implementing wish spreading. This reduces the average
number of wishes at the Castle from 6 to 3.
This commit is contained in:
Alex Smith
2025-05-30 01:23:43 +01:00
parent 3fd30c4ec8
commit 615edb1c76
2 changed files with 18 additions and 4 deletions

View File

@@ -1111,7 +1111,7 @@ mksobj_init(struct obj **obj, boolean artif)
break;
case WAND_CLASS:
if (otmp->otyp == WAN_WISHING)
otmp->spe = rnd(3);
otmp->spe = 1;
else
otmp->spe = rn1(5,
(objects[otmp->otyp].oc_dir == NODIR) ? 11 : 4);