mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-08 21:55:25 +01:00
Renders et al are immune to the nightmare helm
This commit is contained in:
parent
8510ff38b3
commit
78b8f3c244
2 changed files with 4 additions and 2 deletions
|
@ -641,7 +641,8 @@
|
|||
#define can_breathe(ptr) attacktype(ptr, AT_BREA)
|
||||
#define taxes_sanity(ptr) (((ptr)->mflagsg & MG_SANLOSS) != 0L)
|
||||
#define yields_insight(ptr) (((ptr)->mflagsg & MG_INSIGHT) != 0L)
|
||||
#define banish_kill(mtyp) (mtyp == PM_SECRET_WHISPERER || mtyp == PM_TRUTH_SEER || mtyp == PM_DREAM_EATER || mtyp == PM_VEIL_RENDER)
|
||||
#define is_render(mtyp) (mtyp == PM_SECRET_WHISPERER || mtyp == PM_TRUTH_SEER || mtyp == PM_DREAM_EATER || mtyp == PM_VEIL_RENDER)
|
||||
#define banish_kill(mtyp) (is_render(mtyp))
|
||||
|
||||
#define has_sunflask(mtyp) (mtyp == PM_UNDEAD_KNIGHT || mtyp == PM_WARRIOR_OF_SUNLIGHT\
|
||||
|| mtyp == PM_UNDEAD_MAIDEN || mtyp == PM_KNIGHT_OF_THE_PRINCESS_S_GUARD\
|
||||
|
|
|
@ -1861,7 +1861,8 @@ movemon()
|
|||
//else no quant lock
|
||||
}
|
||||
|
||||
if(Nightmare && mon_can_see_you(mtmp) && !mindless_mon(mtmp)){
|
||||
//Peaceful exemption?
|
||||
if(Nightmare && mon_can_see_you(mtmp) && !mindless_mon(mtmp) && !is_render(mtmp->mtyp)){
|
||||
you_inflict_madness(mtmp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue