From c9b07a1a83b5839c45b7eb11bd9d0645e66d9268 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 1 May 2008 14:19:30 +0000 Subject: Add partial resistance to the list of canned messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4792 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/ouch.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/ouch.cc') diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index d3fe9dabb6..55aeee2407 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -175,7 +175,7 @@ int check_your_resists(int hurted, beam_type flavour) hurted = resist_adjust_damage(&you, flavour, resist, hurted); if (hurted < original) - mpr("You partially resist."); + canned_msg(MSG_YOU_PARTIALLY_RESIST); break; case BEAM_NEG: @@ -203,7 +203,7 @@ int check_your_resists(int hurted, beam_type flavour) hurted, true); if (hurted < original) - mpr("You partially resist."); + canned_msg(MSG_YOU_PARTIALLY_RESIST); else if (hurted > original) { mpr("You feel a painful chill!"); @@ -216,7 +216,7 @@ int check_your_resists(int hurted, beam_type flavour) hurted, true); if (hurted < original) - mpr("You partially resist."); + canned_msg(MSG_YOU_PARTIALLY_RESIST); else if (hurted > original) { mpr("It burns terribly!"); @@ -619,7 +619,7 @@ void drain_exp(bool announce_full) if (protection == 3) { if ( announce_full ) - mpr("You fully resist."); + canned_msg(MSG_YOU_RESIST); return; } @@ -658,7 +658,7 @@ void drain_exp(bool announce_full) } else if (protection > 0) { - mpr("You partially resist."); + canned_msg(MSG_YOU_PARTIALLY_RESIST); exp_drained -= (protection * exp_drained) / 3; } -- cgit v1.2.3-54-g00ecf