U719: grayswandir and exploding black lights

<email deleted> wrote:
> When wielding greyswander and a black light explodes, the
> message is still "You are freaked by a blast of kaleidoscopic
> light!" giving no indication that you are immune to
> hallucination. Maybe something like "You see a blast of color,
> but seem unaffected" would be more appropriate?

return the changed status back to the caller from
make_hallucinated().
This commit is contained in:
nethack.allison
2003-10-29 13:03:23 +00:00
parent fec5392055
commit cdbe3b1d39
10 changed files with 19 additions and 15 deletions

View File

@@ -1470,7 +1470,7 @@ struct obj *obj;
break;
case 4: (void) adjattrib(rn2(A_MAX), -1, FALSE);
break;
case 5: make_hallucinated(HHallucination + lcount, TRUE, 0L);
case 5: (void) make_hallucinated(HHallucination + lcount, TRUE, 0L);
break;
}
return;
@@ -1550,7 +1550,7 @@ struct obj *obj;
did_prop++;
break;
case prop2trbl(HALLUC):
make_hallucinated(0L, TRUE, 0L);
(void) make_hallucinated(0L, TRUE, 0L);
did_prop++;
break;
case prop2trbl(VOMITING):