From 78f52b9e5b8d8a5290e902e8558a435617536fde Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 1 Jul 2008 14:04:16 +0000 Subject: Add more message tweaks. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6289 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/effects.cc | 2 +- crawl-ref/source/mstuff2.cc | 3 ++- crawl-ref/source/spells3.cc | 16 ++++++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 577b5e21da..18b3ea78ae 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2139,7 +2139,7 @@ static void _hell_effects() { if (is_sanctuary(you.x_pos, you.y_pos)) { - mpr("The sanctuary protects you from Hell's scourges!"); + mpr("Zin's power protects you from Hell's scourges!", MSGCH_GOD); return; } diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index 4fa667f40d..52be635898 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -2278,7 +2278,8 @@ static int _monster_abjure_square(const coord_def &pos, } else if (is_sanctuary(target->x, target->y)) { - mpr("The sanctuary protects your fellow warrior from evil magic!"); + mpr("Zin's power protects your fellow warrior from evil magic!", + MSGCH_GOD); return (0); } diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 28dfc56204..9697dd3ebd 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1618,7 +1618,7 @@ void decrease_sanctuary_radius() if (you.running && is_sanctuary(you.x_pos, you.y_pos)) { - mpr("The sanctuary starts shrinking."); + mpr("The sanctuary starts shrinking.", MSGCH_DURATION); stop_running(); } @@ -1645,7 +1645,7 @@ void decrease_sanctuary_radius() { env.map[env.sanctuary_pos.x][env.sanctuary_pos.y].property = FPROP_NONE; if (see_grid(coord_def(env.sanctuary_pos.x,env.sanctuary_pos.y))) - mpr("The sanctuary disappears."); + mpr("The sanctuary disappears.", MSGCH_DURATION); } } @@ -1757,11 +1757,15 @@ bool cast_sanctuary(const int power) mpr("The monsters scatter in all directions!"); if (cloud_count == 1) - mprf(MSGCH_GOD, "By Zin's power, the foul cloud within the " - " sanctuary is swept away."); + { + mpr("By Zin's power, the foul cloud within the sanctuary is " + "swept away.", MSGCH_GOD); + } else if (cloud_count > 1) - mprf(MSGCH_GOD, "By Zin's power, all foul fumes within the " - " sanctuary are swept away."); + { + mpr("By Zin's power, all foul fumes within the sanctuary are " + "swept away.", MSGCH_GOD); + } return (true); } -- cgit v1.2.3-54-g00ecf