summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
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.");