summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-19 20:29:26 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-19 20:29:26 +0000
commitf4cd5aede38a820cc5ab7137b8cc1a0927ae7f3e (patch)
treecdb7c880be5448aecba4bcb1925531cc7e51d3fd /crawl-ref/source/acr.cc
parent86da4aff359e1be8b6cacc7ae340b42ec7d676a4 (diff)
downloadcrawl-ref-f4cd5aede38a820cc5ab7137b8cc1a0927ae7f3e.tar.gz
crawl-ref-f4cd5aede38a820cc5ab7137b8cc1a0927ae7f3e.zip
First draft of god tension, and of Xom using tension.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7869 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 357ad38069..c64a720a74 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3034,6 +3034,9 @@ static void _decrement_durations()
if (_decrement_a_duration(DUR_DIVINE_STAMINA))
remove_divine_stamina();
+
+ _decrement_a_duration(DUR_REPEL_STAIRS_MOVE);
+ _decrement_a_duration(DUR_REPEL_STAIRS_CLIMB);
}
static void _check_banished()
@@ -3240,6 +3243,11 @@ static void _world_reacts()
if (you.cannot_act() && any_messages())
more();
+
+#if DEBUG_TENSION || DEBUG_RELIGION
+ if (you.religion != GOD_NO_GOD)
+ mprf(MSGCH_DIAGNOSTICS, "TENSION = %d", get_tension());
+#endif
}
#ifdef DGL_SIMPLE_MESSAGING