diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 08:05:03 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 08:05:03 +0000 |
commit | 6977f25bb9ee1dca2c7d3947da850bd1226d6dc9 (patch) | |
tree | 8e3434831f3eb078169a2c740fa0b540aaa0fac2 /crawl-ref/source/player.cc | |
parent | 7aff33edc63728798297f82e51437cdbf556d5b9 (diff) | |
download | crawl-ref-6977f25bb9ee1dca2c7d3947da850bd1226d6dc9.tar.gz crawl-ref-6977f25bb9ee1dca2c7d3947da850bd1226d6dc9.zip |
Modify mon_enemies_around() logic to allow friends to also cast spells
if they have a foe but you don't, i.e. if their foe is out of your LOS.
Don't allow patrolling to a target grid that is occupied by a monster in
case it's a stationary monster (plant or sleeping).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5311 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
0 files changed, 0 insertions, 0 deletions