summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.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/decks.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/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 588a5210d6..78d445d64a 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -1882,35 +1882,35 @@ static void _metamorphosis_card(int power, deck_rarity_type rarity)
static void _helm_card(int power, deck_rarity_type rarity)
{
const int power_level = get_power_level(power, rarity);
- bool do_forescry = false;
- bool do_stoneskin = false;
- bool do_shield = false;
+ bool do_phaseshift = false;
+ bool do_stoneskin = false;
+ bool do_shield = false;
int num_resists = 0;
// Chances are cumulative.
if (power_level >= 2)
{
- if (coinflip()) do_forescry = true;
- if (coinflip()) do_stoneskin = true;
- if (coinflip()) do_shield = true;
+ if (coinflip()) do_phaseshift = true;
+ if (coinflip()) do_stoneskin = true;
+ if (coinflip()) do_shield = true;
num_resists = random2(4);
}
if (power_level >= 1)
{
- if (coinflip()) do_forescry = true;
- if (coinflip()) do_stoneskin = true;
- if (coinflip()) do_shield = true;
+ if (coinflip()) do_phaseshift = true;
+ if (coinflip()) do_stoneskin = true;
+ if (coinflip()) do_shield = true;
}
if (power_level >= 0)
{
if (coinflip())
- do_forescry = true;
+ do_phaseshift = true;
else
- do_stoneskin = true;
+ do_stoneskin = true;
}
- if (do_forescry)
- cast_forescry( random2(power/4) );
+ if (do_phaseshift)
+ cast_phase_shift( random2(power/4) );
if (do_stoneskin)
cast_stoneskin( random2(power/4) );
if (num_resists)