summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-24 09:59:53 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-24 11:05:13 +0100
commit0c9cba8792edc5ef6eb52dc0a51393c169c4a6b7 (patch)
tree7c55f061a53abc572eb025904eba4985b15f8680 /crawl-ref/source/mon-info.cc
parente022aaa532c3c4b5cd43b1ea7d43e1e2e4e7aa91 (diff)
downloadcrawl-ref-0c9cba8792edc5ef6eb52dc0a51393c169c4a6b7.tar.gz
crawl-ref-0c9cba8792edc5ef6eb52dc0a51393c169c4a6b7.zip
Allow overriding of monster target selection through Lua.
_find_monster now calls ch_target_monster with coordinates of a possible target. Currently ch_target_monster is only passed the relative coordinates of the possible target. It could easily be passed flags like need_path. Eventually, it should be able to check what the targetting is about (which spell, etc.), but that's not so easy to do currently.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
0 files changed, 0 insertions, 0 deletions