fix monster summoning message
From a bug report: > If the Summon Nasties monster spell gates in two minions instead of one, > the message still says "A monster appears from nowhere!" The code wasn't counting any summoned monsters who had an opposite alignment to the summoner. It also assumed that the 10% chance for demon summoning in Gehennom always yielded exactly one monster even though that can produce zero or more than one.
This commit is contained in:
@@ -1019,7 +1019,7 @@ E int FDECL(doseduce, (struct monst *));
|
||||
|
||||
/* ### minion.c ### */
|
||||
|
||||
E void FDECL(msummon, (struct monst *));
|
||||
E int FDECL(msummon, (struct monst *));
|
||||
E void FDECL(summon_minion, (ALIGNTYP_P,BOOLEAN_P));
|
||||
E int FDECL(demon_talk, (struct monst *));
|
||||
E long FDECL(bribe, (struct monst *));
|
||||
|
||||
Reference in New Issue
Block a user