diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-04-09 00:18:42 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-04-09 01:40:00 +0100 |
commit | ff652d7691885d638f0be95841369725e125aa04 (patch) | |
tree | 93ac41114929373328bd5eb5bfded1d84ad92837 /crawl-ref/source/spl-transloc.cc | |
parent | 5681569f179de80c963468dabb0557e112ba949f (diff) | |
download | crawl-ref-ff652d7691885d638f0be95841369725e125aa04.tar.gz crawl-ref-ff652d7691885d638f0be95841369725e125aa04.zip |
Make controlled teleports take longer to go off
The delay also kicks in if cTele is gained while a teleport is active.
Could do with a better message, possibly.
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r-- | crawl-ref/source/spl-transloc.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc index 8d00cb0145..b69c8935e3 100644 --- a/crawl-ref/source/spl-transloc.cc +++ b/crawl-ref/source/spl-transloc.cc @@ -390,9 +390,15 @@ void you_teleport(void) int teleport_delay = 3 + random2(3); + // Doesn't care whether the cTele will actually work or not. + if (player_control_teleport()) + { + mpr("You feel your translocation being delayed."); + teleport_delay += 1 + random2(3); + } if (player_in_branch(BRANCH_ABYSS) && !one_chance_in(5)) { - mpr("You have a feeling this translocation may take a while to kick in..."); + mpr("You feel the power of the Abyss delaying your translocation."); teleport_delay += 5 + random2(10); } else if (orb_haloed(you.pos()) && coinflip()) |