summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-14 23:35:55 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-14 23:35:55 +0000
commit6e95fa8022f97144a6f99af228beaf3d66e90021 (patch)
treee21a9125dd40a86bce19b91d2e29c8727b0f258f /crawl-ref/source/player.cc
parent23b548a717d1c79f05ba493f5dc9730819f07674 (diff)
downloadcrawl-ref-6e95fa8022f97144a6f99af228beaf3d66e90021.tar.gz
crawl-ref-6e95fa8022f97144a6f99af228beaf3d66e90021.zip
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc9
1 files changed, 5 insertions, 4 deletions
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.");