Izchak occasionally stocks wands/scrolls/spellbooks of light

This comes from xNetHack by copperwater <aosdict@gmail.com>
This commit is contained in:
Pasi Kallinen
2021-09-19 20:52:01 +03:00
parent b23ff20c6a
commit 5d3e237ffc
3 changed files with 7 additions and 3 deletions

View File

@@ -618,6 +618,7 @@ similar "The ogre lord yanks Cleaver from your corpses!" due to caching the
obuf used for each item so that the same one will be reused for the
next item, to avoid churning through the whole pool of obufs
gas clouds are a little random in how they spread out from a point
Izchak occasionally stocks wands/scrolls/spellbooks of light
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository

View File

@@ -35,7 +35,7 @@ struct shclass {
struct itp {
int iprob; /* probability of an item type */
int itype; /* item type: if >=0 a class, if < 0 a specific item */
} iprobs[6];
} iprobs[9];
const char *const *shknms; /* list of shopkeeper names for this type */
};

View File

@@ -330,11 +330,14 @@ const struct shclass shtypes[] = {
0,
D_SHOP,
{ { 30, -WAX_CANDLE },
{ 48, -TALLOW_CANDLE },
{ 44, -TALLOW_CANDLE },
{ 5, -BRASS_LANTERN },
{ 9, -OIL_LAMP },
{ 3, -MAGIC_LAMP },
{ 5, -POT_OIL } },
{ 5, -POT_OIL },
{ 2, -WAN_LIGHT },
{ 1, -SCR_LIGHT },
{ 1, -SPE_LIGHT } },
shklight },
/* sentinel */
{ (char *) 0,