diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 11:26:53 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 11:26:53 +0000 |
commit | 9415865e90bd96e8241e119291275eef655235dc (patch) | |
tree | 25f8ffa0e900150be3dc9c9918e9caff7e11dd9b /crawl-ref/source/delay.cc | |
parent | de47f74ee9a63c58d1c6f512f17d49122333cf1b (diff) | |
download | crawl-ref-9415865e90bd96e8241e119291275eef655235dc.tar.gz crawl-ref-9415865e90bd96e8241e119291275eef655235dc.zip |
[1631021] Interrupt delays only if the player knows he was attacked.
Under the old system, the delay was interrupted when the monster got an attack
round against the player; if the monster is invisible and misses, the player
received no message, but delays were interrupted.
Under the new system, the delay is interrupted only if the player perceives the
attempted attack (if the player shield-blocks, or the attacker is visible, or
the player actually takes a hit).
Also fixed the old behaviour where you would not be aware of an unseen horror
if it hits but does no damage.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@816 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
0 files changed, 0 insertions, 0 deletions