diff options
author | Charles Otto <ottochar@gmail.com> | 2009-11-15 01:44:46 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-15 23:46:32 -0500 |
commit | b7146954ad091407e92804cbf0a371b4a8f435db (patch) | |
tree | 595fc099fbd06b048e5694f9bac1740a13bd5128 /crawl-ref/source/spells3.cc | |
parent | 2fdb9bf3159ff508ace17afa23a295db175cc573 (diff) | |
download | crawl-ref-b7146954ad091407e92804cbf0a371b4a8f435db.tar.gz crawl-ref-b7146954ad091407e92804cbf0a371b4a8f435db.zip |
Make teleportation delay based on total delay not turns
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 253efe2494..f8f244cc8b 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1395,12 +1395,13 @@ void you_teleport(void) mpr("You feel strangely unstable."); you.duration[DUR_TELEPORT] = 3 + random2(3); - if (you.level_type == LEVEL_ABYSS && !one_chance_in(5)) { mpr("You have a feeling this translocation may take a while to kick in..."); you.duration[DUR_TELEPORT] += 5 + random2(10); } + + you.duration[DUR_TELEPORT] *= BASELINE_DELAY; } } |