1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-11 23:21:37 +01:00

Deny polearms' safeties while hallucinating

This commit is contained in:
NeroOneTrueKing 2021-05-30 00:36:55 -05:00
parent 196a668db9
commit 5c078d1bf9

View file

@ -3862,8 +3862,8 @@ struct obj *pole;
&& cansee(cx, cy)
&& canseemon(mtmp)
&& distu(cx, cy) <= max_range
&& !(flags.peacesafe_polearms && mtmp->mpeaceful)
&& !(flags.petsafe_polearms && mtmp->mtame)
&& !(flags.peacesafe_polearms && mtmp->mpeaceful && !Hallucination)
&& !(flags.petsafe_polearms && mtmp->mtame && !Hallucination)
){
Sprintf(buf, "%s (%s)", Monnam(mtmp), pole_dir[i]);
any.a_int = i+1; /* must be non-zero */