1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-30 17:32:24 +01:00

Lomya tweak: Should allow monster mr

How should be 0 (misc) rather than -1 (skip check)
This commit is contained in:
chris 2023-07-09 22:46:32 -04:00
parent 5fb91e6648
commit e050f75954

View file

@ -6868,7 +6868,7 @@ boolean printmessages; /* print generic elemental damage messages */
else You("are put to sleep by %s!", mon_nam(magr));
}
else {
if (sleep_monst(mdef, rnd(arti_struct->damage ? arti_struct->damage : basedmg ? basedmg : 1), -1)) {
if (sleep_monst(mdef, rnd(arti_struct->damage ? arti_struct->damage : basedmg ? basedmg : 1), 0)) {
pline("%s falls asleep!",
Monnam(mdef));
mdef->mstrategy &= ~STRAT_WAITFORU;