summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-09 16:01:49 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-09 16:01:49 +0000
commit85aad345f2186635f5415dba9ccbf1570dd41d53 (patch)
treef8525a1ef3ac1128ed8bb8e0108e6fb3be00934d /crawl-ref/source/monplace.cc
parent95c54debdb45b8e204f909f7cc09162f427f95c0 (diff)
downloadcrawl-ref-85aad345f2186635f5415dba9ccbf1570dd41d53.tar.gz
crawl-ref-85aad345f2186635f5415dba9ccbf1570dd41d53.zip
Another step on the way to smarter monsters, again on the topic of
trap handling. Changes: * intelligent monsters native to a branch (elves in Elven Halls etc.) will try not to step on traps * highly intelligent monsters have a chance to avoid traps as well * intelligent monsters use an estimate of the expected damage of a trap (simple randomized amount) to decide whether to cross it I've left the half hpmax check in as well because... um, for historical reasons? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2831 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
0 files changed, 0 insertions, 0 deletions