summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 06:53:52 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 06:53:52 +0000
commit8cffb32e8c61a88ce23b389c5d1e4255e21e59d9 (patch)
treefee921f947ec465a58a91b65fa53dc21ad8fbecd /crawl-ref/source/monstuff.h
parentdcf9fc82a633b9541eae069e209088bcaa557cc8 (diff)
downloadcrawl-ref-8cffb32e8c61a88ce23b389c5d1e4255e21e59d9.tar.gz
crawl-ref-8cffb32e8c61a88ce23b389c5d1e4255e21e59d9.zip
Only place a newly created monster (summons) on a sanctuary square if it
is friendly. Only allow friendly and neutral-good monsters to blink or teleport onto a sanctuary square. Don't allow corpses on sanctuary squares to be rotted or animated. Restrict monster cantrip messages to self-buff types if the player is in sanctuary. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6211 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 5aee3f67e0..30fc17ecfc 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -125,7 +125,8 @@ bool monster_blink(monsters *monster);
* false, false
* *********************************************************************** */
bool random_near_space( int ox, int oy, int &tx, int &ty,
- bool allow_adjacent = false, bool restrict_LOS = true);
+ bool allow_adjacent = false, bool restrict_LOS = true,
+ bool forbid_sanctuary = false);
/* ***********************************************************************