Fix some steed/wounded legs things. Also add a wizard-only enlightenment

message specifying that the steed has wounded legs.
This commit is contained in:
arromdee
2002-01-12 05:37:33 +00:00
parent f64c0ac241
commit d5d7f15007
8 changed files with 47 additions and 13 deletions

View File

@@ -167,7 +167,11 @@ in_trouble()
if(Blinded > 1) return(TROUBLE_BLIND);
for(i=0; i<A_MAX; i++)
if(ABASE(i) < AMAX(i)) return(TROUBLE_POISONED);
if(Wounded_legs) return (TROUBLE_WOUNDED_LEGS);
if(Wounded_legs
#ifdef STEED
&& !u.usteed
#endif
) return (TROUBLE_WOUNDED_LEGS);
if(u.uhs >= HUNGRY) return(TROUBLE_HUNGRY);
if(HStun) return (TROUBLE_STUNNED);
if(HConfusion) return (TROUBLE_CONFUSED);