diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-18 20:36:39 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-18 20:36:39 +0000 |
commit | 42b470cdc704ec1f9b403c2988f75c6eaf5d0b73 (patch) | |
tree | 236a7e7c13ca39e096e08b4ded3969922506ad42 /crawl-ref/source/religion.cc | |
parent | b4338a00f5d85699e599307f09d502e3cbd621dc (diff) | |
download | crawl-ref-42b470cdc704ec1f9b403c2988f75c6eaf5d0b73.tar.gz crawl-ref-42b470cdc704ec1f9b403c2988f75c6eaf5d0b73.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10279 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 72d50c404e..b9f544ebdf 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -286,9 +286,9 @@ const char* god_gain_power_messages[NUM_GODS][MAX_GOD_ABILITIES] = "walk on water" }, // Jiyva { "request a jelly", + "summon a protective jelly shield via prayer", "", - "", - "turn your enemies to slime", + "turn your foes to slime", "call upon Jiyva to remove your harmful mutations" } }; @@ -382,7 +382,7 @@ const char* god_lose_power_messages[NUM_GODS][MAX_GOD_ABILITIES] = "summon a protective jelly shield via prayer", "", "turn your foes to slime", - "call upon Jiyva to remove bad mutations" + "call upon Jiyva to remove your harmful mutations" } }; @@ -942,17 +942,18 @@ bool jiyva_remove_bad_mutations() // random mutation if the player has no bad mutations, so any newly // added bad mutations need to be included here. - const mutation_type bad[] = { - MUT_HERBIVOROUS, MUT_CARNIVOROUS, MUT_FRAIL, MUT_SLOW_HEALING, - MUT_FAST_METABOLISM, MUT_WEAK, MUT_DOPEY, MUT_CLUMSY, MUT_DEFORMED, - MUT_TELEPORT, MUT_SCREAM, MUT_BERSERK, MUT_BLURRY_VISION, - MUT_LOW_MAGIC, MUT_DETERIORATION + const mutation_type bad_muts[] = { + MUT_HERBIVOROUS, MUT_CARNIVOROUS, MUT_FRAIL, + MUT_SLOW_HEALING, MUT_FAST_METABOLISM, MUT_WEAK, + MUT_DOPEY, MUT_CLUMSY, MUT_DEFORMED, + MUT_TELEPORT, MUT_SCREAM, MUT_BERSERK, + MUT_BLURRY_VISION, MUT_LOW_MAGIC, MUT_DETERIORATION }; bool done = false; for (int tries = 0; !done && tries < 100; tries++) { - mutation_type mutat = RANDOM_ELEMENT(bad); + mutation_type mutat = RANDOM_ELEMENT(bad_muts); if (you.mutation[mutat] > 0) done = delete_mutation(mutat); } @@ -964,7 +965,6 @@ bool jiyva_remove_bad_mutations() } mpr("You feel cleansed."); - return (true); } |