From 6d9b6f226847487b3fd9e2ff408d7c0f42361c93 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Fri, 16 Oct 2009 14:33:41 +1000 Subject: Make Toxic Radiance and Refrigeration monster castable. Allow player ghosts and random pandemonium lords to also cast it. Signed-off-by: Robert Vollmert --- crawl-ref/source/spells2.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index cec9e6ce30..c2d4478462 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -509,9 +509,12 @@ static std::string _describe_monsters(const counted_monster_list &list) // Poisonous light passes right through invisible players // and monsters, and so, they are unaffected by this spell -- // assumes only you can cast this spell (or would want to). -void cast_toxic_radiance() +void cast_toxic_radiance(bool monster_cast) { - mpr("You radiate a sickly green light!"); + if (monster_cast) + mpr("Sickly green light fills the air!"); + else + mpr("You radiate a sickly green light!"); you.flash_colour = GREEN; viewwindow(true, false); -- cgit v1.2.3-54-g00ecf