summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:45:44 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:45:44 +1000
commitf80d6f4e45cbee76a1184268a5e10fcde7ba6c52 (patch)
tree9a27eef81e2e94655cd23ecaa8e270cb99e5510c /crawl-ref/source/player.cc
parent576ccd691ef3a7e3a779845cc52d6d223f819dd8 (diff)
downloadcrawl-ref-f80d6f4e45cbee76a1184268a5e10fcde7ba6c52.tar.gz
crawl-ref-f80d6f4e45cbee76a1184268a5e10fcde7ba6c52.zip
Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc16
1 files changed, 8 insertions, 8 deletions
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;
}
}