diff options
author | Jude Brown <bookofjude@users.sourceforge.com> | 2009-10-16 14:33:41 +1000 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-16 08:56:35 +0200 |
commit | 6d9b6f226847487b3fd9e2ff408d7c0f42361c93 (patch) | |
tree | 3f3c81c79eb038caf21ad19c715b66fbbf794178 /crawl-ref/source/spells2.cc | |
parent | abb48a2dd69dbc9743bc952a5c3afacc1e7efa16 (diff) | |
download | crawl-ref-6d9b6f226847487b3fd9e2ff408d7c0f42361c93.tar.gz crawl-ref-6d9b6f226847487b3fd9e2ff408d7c0f42361c93.zip |
Make Toxic Radiance and Refrigeration monster castable.
Allow player ghosts and random pandemonium lords to also cast it.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 7 |
1 files changed, 5 insertions, 2 deletions
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); |