Hit and wake sleeping monster makes it growl
Unless you kill the monster with one hit, it'll wake up cranky and make noise - waking up other sleeping monsters. This was a bit tricky with all the message sequencing; I tested all the hit/throw/fire/zap combos I could think of, and it took a while to get things looking right.
This commit is contained in:
@@ -1830,8 +1830,6 @@ omon_adj(struct monst *mon, struct obj *obj, boolean mon_notices)
|
||||
/* sleeping target is more likely to be hit */
|
||||
if (mon->msleeping) {
|
||||
tmp += 2;
|
||||
if (mon_notices)
|
||||
mon->msleeping = 0;
|
||||
}
|
||||
/* ditto for immobilized target */
|
||||
if (!mon->mcanmove || !mon->data->mmove) {
|
||||
|
||||
Reference in New Issue
Block a user