1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-06 12:45:25 +01:00

Blasphemous lurkers and lurking ones unblind themselves

This prevents a :( combo between god altar lightning bolts and BL blaspheme gaze.
This commit is contained in:
chris 2023-05-18 16:11:28 -04:00
parent ebceb70340
commit 747a4e7bf3

View file

@ -1696,6 +1696,10 @@ struct monst *mtmp;
if(canspotmon(mtmp)) pline("%s forms new eyes!",Monnam(mtmp));
mtmp->mblinded = 1;
}
if(!mtmp->mcansee && (mtmp->mtyp == PM_BLASPHEMOUS_LURKER || mtmp->mtyp == PM_LURKING_ONE)){
if(canspotmon(mtmp)) pline("%s opens more eyes!",Monnam(mtmp));
mtmp->mblinded = 1;
}
//No point in checking it before setting it.
mtmp->mgoatmarked = FALSE;