summaryrefslogtreecommitdiffstats
path: root/crawl-ref/CREDITS.txt
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-15 01:17:22 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-15 01:20:33 -0800
commit3e4c55a7f265baf527c126a86dd80b9eca829919 (patch)
treefa8255c348dda08d83cb7d797e123c20e1bbf471 /crawl-ref/CREDITS.txt
parent421babd7402fc7f030768062ad66227d8bd220d0 (diff)
downloadcrawl-ref-3e4c55a7f265baf527c126a86dd80b9eca829919.tar.gz
crawl-ref-3e4c55a7f265baf527c126a86dd80b9eca829919.zip
handle_behaviour(): guess pos of invis foes
If a monster didn't know the position of an unseen but nearby foe, then casting a spell against the foe would cause an assert. So now the monster tries to guess the position of the foe: a random square within radius 3 of the foe, or radius 2 if the monster can sense invisible. This algorithm no doubt needs improvement.
Diffstat (limited to 'crawl-ref/CREDITS.txt')
0 files changed, 0 insertions, 0 deletions