From f80d6f4e45cbee76a1184268a5e10fcde7ba6c52 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Thu, 12 Nov 2009 19:45:44 +1000 Subject: Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR. --- crawl-ref/source/player.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b3d7218db1..49d210f4ec 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6895,7 +6895,7 @@ bool player::visible_to(const actor *looker) const bool player::backlit(bool check_haloed) const { - return (get_contamination_level() > 0 || duration[DUR_BACKLIGHT] + return (get_contamination_level() > 0 || duration[DUR_CORONA] || (check_haloed ? haloed() : false)); } @@ -6904,22 +6904,22 @@ void player::backlight() { if (!this->duration[DUR_INVIS]) { - if (this->duration[DUR_BACKLIGHT]) + if (this->duration[DUR_CORONA]) mpr("You glow brighter."); else mpr("You are outlined in light."); - this->duration[DUR_BACKLIGHT] += random_range(15, 35); - if (this->duration[DUR_BACKLIGHT] > 250) - this->duration[DUR_BACKLIGHT] = 250; + this->duration[DUR_CORONA] += random_range(15, 35); + if (this->duration[DUR_CORONA] > 250) + this->duration[DUR_CORONA] = 250; } else { mpr("You feel strangely conspicuous."); - this->duration[DUR_BACKLIGHT] += random_range(3, 5); - if (this->duration[DUR_BACKLIGHT] > 250) - this->duration[DUR_BACKLIGHT] = 250; + this->duration[DUR_CORONA] += random_range(3, 5); + if (this->duration[DUR_CORONA] > 250) + this->duration[DUR_CORONA] = 250; } } -- cgit v1.2.3-54-g00ecf