From eae61da171bd07d54eb09775a244257411359221 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 10 Jul 2007 19:35:05 +0000 Subject: 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 --- crawl-ref/source/misc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/misc.h') 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 -- cgit v1.2.3-54-g00ecf