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:
parent
196a668db9
commit
5c078d1bf9
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue