Purple worm changes
Shriekers only spawn purple worms when they're appropriate difficulty. Non-tame Purple worms eat corpses off the ground. Baby purple worms attack shriekers. Hero polyed into baby purple worm is warned against shriekers. Original changes by copperwater <aosdict@gmail.com>, added with some formatting adjustments and consolidation.
This commit is contained in:
@@ -1458,6 +1458,7 @@ E int FDECL(minliquid, (struct monst *));
|
||||
E int NDECL(movemon);
|
||||
E int FDECL(meatmetal, (struct monst *));
|
||||
E int FDECL(meatobj, (struct monst *));
|
||||
E int FDECL(meatcorpse, (struct monst *));
|
||||
E void FDECL(mpickgold, (struct monst *));
|
||||
E boolean FDECL(mpickstuff, (struct monst *, const char *));
|
||||
E int FDECL(curr_mon_load, (struct monst *));
|
||||
|
||||
@@ -205,6 +205,7 @@ struct monst {
|
||||
given the current level difficulty and the hero's level. */
|
||||
#define monmax_difficulty(levdif) (((levdif) + u.ulevel) / 2)
|
||||
#define monmin_difficulty(levdif) ((levdif) / 6)
|
||||
#define monmax_difficulty_lev() (monmax_difficulty(level_difficulty()))
|
||||
|
||||
/* Macros for whether a type of monster is too strong for a specific level. */
|
||||
#define montoostrong(monindx, lev) (mons[monindx].difficulty > lev)
|
||||
|
||||
Reference in New Issue
Block a user