From ec62dd87b6bbe338aa50dc503db2f999c2d352c3 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 18:13:28 -0500 Subject: Delay changes for corona, berserk, lev, and cfly --- crawl-ref/source/player.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 05ccf42770..1fcafdd60f 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6873,17 +6873,13 @@ void player::backlight() else mpr("You are outlined in light."); - this->duration[DUR_CORONA] += random_range(15, 35); - if (this->duration[DUR_CORONA] > 250) - this->duration[DUR_CORONA] = 250; + you.increase_duration(DUR_CORONA, random_range(15, 35), 250); } else { mpr("You feel strangely conspicuous."); - this->duration[DUR_CORONA] += random_range(3, 5); - if (this->duration[DUR_CORONA] > 250) - this->duration[DUR_CORONA] = 250; + you.increase_duration(DUR_CORONA, random_range(3, 5), 250); } } -- cgit v1.2.3-54-g00ecf