summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-20 16:16:59 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-20 16:46:47 -0700
commit4862ac7ba83dc160fdc3f5f4639e79d24eb88630 (patch)
tree76b2c4954424aed30bf99b9957ce8026d4fecfbc /crawl-ref/source/mon-util.cc
parentd6ea58e6f13e85f4121ab488c09721f6d388a977 (diff)
downloadcrawl-ref-4862ac7ba83dc160fdc3f5f4639e79d24eb88630.tar.gz
crawl-ref-4862ac7ba83dc160fdc3f5f4639e79d24eb88630.zip
gods: added "Chronos", the slow god
Signed-off-by: Brendan Hickey <brendan@bhickey.net> Acked-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 8be001c9fd..ae6af725e5 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -510,6 +510,10 @@ bool mons_is_stationary(const monsters *mon)
return (mons_class_is_stationary(mon->type));
}
+bool mons_is_fast(const monsters *mon){
+ return (mon->speed > 10);
+}
+
bool mons_is_insubstantial(int mc)
{
return (mons_class_flag(mc, M_INSUBSTANTIAL));
@@ -8558,7 +8562,8 @@ static const char *enchant_names[] =
"gloshifter", "shifter", "tp", "wary", "submerged",
"short-lived", "paralysis", "sick", "sleep", "fatigue", "held",
"blood-lust", "neutral", "petrifying", "petrified", "magic-vulnerable",
- "soul-ripe", "decay", "hungry", "flopping", "spore-producing", "bug"
+ "soul-ripe", "decay", "hungry", "flopping", "spore-producing",
+ "downtrodden", "bug"
};
static const char *_mons_enchantment_name(enchant_type ench)