summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-04 15:53:36 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-04 15:53:36 +0000
commit832060cd98c97e3bce6e2fe122b0a6a90fb042ed (patch)
tree22326a8b66843e6e012cceb919683bfebdf8e05d /crawl-ref/source/mon-util.h
parenta90b4adaf06986bbf6fcd0dce08b4b122d9b9e80 (diff)
downloadcrawl-ref-832060cd98c97e3bce6e2fe122b0a6a90fb042ed.tar.gz
crawl-ref-832060cd98c97e3bce6e2fe122b0a6a90fb042ed.zip
Nets that hold you cannot be destroyed by Ely's Destroy Weapon ability.
(Fix 1825520). Monsters will be held in nets longer. Doesn't influence time needed to destroy it, so ogres and such will still get out quickly. Needs more testing, I guess. Intelligent friendlies will try to avoid traps you (the player) know about, and the chance for triggering known blade and net traps is much lower. Also, friendly casters are much less likely to spam you with "spells" if there are no enemies around. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2749 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index 988d13499b..ef8aa03a2b 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -426,6 +426,8 @@ bool mons_is_summoned(const monsters *m);
* *********************************************************************** */
mon_intel_type mons_intel(int mclass);
+bool intelligent_ally(const monsters *mon);
+
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: beam - fight - monstuff