Issue reported by Ryton: a sleeping orc caught a thrown gold piece. Throwing one at some other sleeping monster woke it up. That is actually intentional. Sleeping monsters with the 'greedy' attribute will wake up without becoming angry and catch thrown or kicked gold that is aimed at hit them. The fix here is to augment the catch message to say so. Non-greedy monsters wake up and treat it as an attack, but the gold always misses. Both cases only happen for monsters who are asleep for an indefinite period of time. Any monster that is asleep (or paralyzed, or busy putting on armor) for N turns effectively doesn't notice. If it can be seen, the gold "harmlessly hits" (if it can't be seen, the gold misses), and the target continues doing--or not doing--whatever it is doing. That's suboptimal; another case where lumping multiple can't-move situations into a single monst->mfrozen countdown timer causes timed sleep to be indistinguishable from timed paralysis. Closes #1230
179 KiB
179 KiB