summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.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/spells4.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/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index b046c0ac29..3458dc6671 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1036,22 +1036,22 @@ bool backlight_monsters(coord_def where, int pow, int garbage)
if (mons_class_flag(monster->type, M_GLOWS))
return (false);
- mon_enchant bklt = monster->get_ench(ENCH_BACKLIGHT);
+ mon_enchant bklt = monster->get_ench(ENCH_CORONA);
const int lvl = bklt.degree;
// This enchantment overrides invisibility (neat).
if (monster->has_ench(ENCH_INVIS))
{
- if (!monster->has_ench(ENCH_BACKLIGHT))
+ if (!monster->has_ench(ENCH_CORONA))
{
monster->add_ench(
- mon_enchant(ENCH_BACKLIGHT, 1, KC_OTHER, random_range(30, 50)));
+ mon_enchant(ENCH_CORONA, 1, KC_OTHER, random_range(30, 50)));
simple_monster_message(monster, " is lined in light.");
}
return (true);
}
- monster->add_ench(mon_enchant(ENCH_BACKLIGHT, 1));
+ monster->add_ench(mon_enchant(ENCH_CORONA, 1));
if (lvl == 0)
simple_monster_message(monster, " is outlined in light.");