summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-10 19:35:05 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-10 19:35:05 +0000
commiteae61da171bd07d54eb09775a244257411359221 (patch)
tree488fae4fa0bce9a941ce789d65cb38d962e211d3 /crawl-ref/source/misc.h
parent68f11497c4e4cc2ea402ac135f833a41565d6a65 (diff)
downloadcrawl-ref-eae61da171bd07d54eb09775a244257411359221.tar.gz
crawl-ref-eae61da171bd07d54eb09775a244257411359221.zip
Monster enchantment overhaul:
* Enchantment degree is converted into duration up-front. The average enchantment duration should be nearly the same as before, but we guarantee minimum durations on enchantments. Enchantment duration variance is much less, needs testing to see whether this makes enchantments and summoning too strong. * Enchantments that rely on degree (like poison, sticky flame) still use it. * Durations are now based on individual movement ticks, not turns (10 ticks = 1 normal player turn). * Breaks saves, abjuration doesn't work (will fix). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1828 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r--crawl-ref/source/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h
index c95f1bde66..ef6804cfab 100644
--- a/crawl-ref/source/misc.h
+++ b/crawl-ref/source/misc.h
@@ -208,4 +208,6 @@ bool player_in_a_dangerous_place();
coord_def pick_adjacent_free_square(int x, int y);
+int speed_to_duration(int speed);
+
#endif