summaryrefslogtreecommitdiff
path: root/src/cmd1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd1.c')
-rw-r--r--src/cmd1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd1.c b/src/cmd1.c
index 49c0d38f..1184df0c 100644
--- a/src/cmd1.c
+++ b/src/cmd1.c
@@ -3098,6 +3098,17 @@ void move_player_aux(int dir, int do_pickup, int run, bool_ disarm)
/* Some hooks */
if (process_hooks(HOOK_MOVE, "(d,d)", y, x)) return;
+ if (p_ptr->dripping_tread > 0)
+ {
+ geomancy_random_floor(y, x, FALSE);
+ p_ptr->dripping_tread -= 1;
+ if (p_ptr->dripping_tread == 0)
+ {
+ msg_print("You stop dripping raw elemental energies.");
+ }
+ }
+
+
/* Get the monster */
m_ptr = &m_list[c_ptr->m_idx];
mr_ptr = race_inf(m_ptr);