magicbane groundwork
To fix Magicbane's message sequencing, its code needs to be redone
substantially. These changes make that easier.
cancel_monst() let caller know whether cancellation succeeds
resist() give artifact weapons a resistance attack rating
vtense() handle monster names and "you" as subjects; checking against
object names and descriptions pointed out a couple of other
words that would have ended up being miscategorized.
This commit is contained in:
@@ -2322,8 +2322,8 @@ E int FDECL(zappable, (struct obj *));
|
||||
E void FDECL(zapnodir, (struct obj *));
|
||||
E int NDECL(dozap);
|
||||
E int FDECL(zapyourself, (struct obj *,BOOLEAN_P));
|
||||
E void FDECL(cancel_monst, (struct monst *,struct obj *,
|
||||
BOOLEAN_P,BOOLEAN_P,BOOLEAN_P));
|
||||
E boolean FDECL(cancel_monst, (struct monst *,struct obj *,
|
||||
BOOLEAN_P,BOOLEAN_P,BOOLEAN_P));
|
||||
E void FDECL(weffects, (struct obj *));
|
||||
E int NDECL(spell_damage_bonus);
|
||||
E const char *FDECL(exclam, (int force));
|
||||
|
||||
Reference in New Issue
Block a user