Adjust seenres when observed attack succeeds

If a monster sees an elemental attack succeed from some other creature
or environmental danger, it will be willing to try those attacks again.
This commit is contained in:
Michael Meyer
2023-08-28 11:28:25 -04:00
committed by Pasi Kallinen
parent 82d83dc83d
commit 8fa53d6ac5
13 changed files with 100 additions and 12 deletions

View File

@@ -884,6 +884,7 @@ peffect_sleeping(struct obj *otmp)
You("yawn.");
} else {
You("suddenly fall asleep!");
monstunseesu(M_SEEN_SLEEP);
fall_asleep(-rn1(10, 25 - 12 * bcsign(otmp)), TRUE);
}
}