Fix: SE010 Problem: There is a bug with the code that enables monsters to get the multishot ability with missile weapons. It uses the bonus of uwep (i.e., NOT the monster's weapon) to determine how many shots it gets. This is particularly unfortunate if you are playing a monk, since it results in a segmentation fault. Compatible with: Slash'EM 0.0.5E4 Author: Bruce Cox Date: 28 Aug 1999 *** src/mthrowu.c.orig Sat Aug 28 02:05:26 1999 --- src/mthrowu.c Sat Aug 28 02:04:46 1999 *************** *** 526,532 **** !MON_WEP(mtmp)->cursed) multishot++; /* 1/3 of object enchantment */ if (MON_WEP(mtmp)->spe > 1) ! multishot += (long) rounddiv(uwep->spe,3); /* Some randomness */ if (multishot > 1L) multishot = (long) rnd((int) multishot); --- 526,532 ---- !MON_WEP(mtmp)->cursed) multishot++; /* 1/3 of object enchantment */ if (MON_WEP(mtmp)->spe > 1) ! multishot += (long) rounddiv(MON_WEP(mtmp)->spe,3); /* Some randomness */ if (multishot > 1L) multishot = (long) rnd((int) multishot);