From 6e95fa8022f97144a6f99af228beaf3d66e90021 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 14 Aug 2009 23:35:55 +0000 Subject: As per FR 2837779, change Forescry to Phase Shift (Trl). Same level, same effect, but different name, description, and messages. Also, See Invisible is now pure Ench, and has been moved into the Book of Enchantments. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10548 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b1e768b99c..9a535d5f7d 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2451,7 +2451,7 @@ int player_evasion() if (dodge_bonus > 0) // always a bonus ev += dodge_bonus; - if (you.duration[DUR_FORESCRY]) + if (you.duration[DUR_PHASE_SHIFT]) ev += 8; if (you.duration[DUR_STONEMAIL]) @@ -2558,7 +2558,7 @@ int old_player_evasion(void) if (you.duration[DUR_STONEMAIL]) ev -= 2; - if (you.duration[DUR_FORESCRY]) + if (you.duration[DUR_PHASE_SHIFT]) ev += 8; //jmf: is this a reasonable value? int emod = 0; @@ -3889,7 +3889,7 @@ int get_expiration_threshold(duration_type dur) case DUR_HASTE: // The following are not shown in the status lines. case DUR_ICY_ARMOUR: - case DUR_FORESCRY: + case DUR_PHASE_SHIFT: case DUR_CONTROL_TELEPORT: case DUR_DEATH_CHANNEL: return (6); @@ -4141,7 +4141,8 @@ void display_char_status() _output_expiring_message(DUR_DEATH_CHANNEL, "You are channeling the dead."); - _output_expiring_message(DUR_FORESCRY, "You are forewarned."); + _output_expiring_message(DUR_PHASE_SHIFT, + "You phase in and out of the material plane."); _output_expiring_message(DUR_SILENCE, "You radiate silence."); -- cgit v1.2.3-54-g00ecf