diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 09:47:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-09 09:47:39 +0000 |
commit | 431ed991d8f3af773769e64134d432e5d0717a6e (patch) | |
tree | 821af7973e2fc9b72bef864235a94b0724b175f4 /crawl-ref/source | |
parent | 5e45d94ad52ad1263610f24693c99e3bf2675af5 (diff) | |
download | crawl-ref-431ed991d8f3af773769e64134d432e5d0717a6e.tar.gz crawl-ref-431ed991d8f3af773769e64134d432e5d0717a6e.zip |
After some thinking remove the bat form exception for starving Vampires
not regenerating. Also add some more information to the Vampire mutation
toggle.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5651 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/mutation.cc | 30 | ||||
-rw-r--r-- | crawl-ref/source/output.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/player.cc | 13 |
3 files changed, 21 insertions, 25 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index fabf3852aa..63d6bde04a 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -1408,33 +1408,37 @@ static void _display_vampire_attributes() std::string result; - std::string column[12][7] = + const int lines = 13; + std::string column[lines][7] = { {" ", "<lightgreen>Alive</lightgreen> ", "<green>Full</green> ", "Satiated ", "<yellow>Thirsty</yellow> ", "<yellow>Near...</yellow> ", "<lightred>Bloodless</lightred>"}, //Alive Full Satiated Thirsty Near... Bloodless - {"Metabolism ", "very fast ", "fast ", "fast ", "normal ", "slow ", "none"}, + {"Metabolism ", "very fast ", "fast ", "fast ", "normal ", "slow ", "none "}, - {"Regeneration ", "very fast ", "fast ", "normal ", "normal ", "slow ", "none"}, + {"Regeneration ", "very fast ", "fast ", "normal ", "normal ", "slow ", "none "}, - {"Poison resistance ", " ", " ", " ", " + ", " + ", " + "}, + {"Poison resistance ", " ", " ", " ", " + ", " + ", " + "}, - {"Cold resistance ", " ", " ", " ", " + ", " + ", " ++ "}, + {"Cold resistance ", " ", " ", " ", " + ", " + ", " ++ "}, - {"Negative resistance ", " ", " ", " ", " + ", " ++ ", " +++ "}, + {"Negative resistance ", " ", " ", " ", " + ", " ++ ", " +++ "}, - {"Torment resistance ", " ", " ", " ", " ", " ", " + "}, + {"Torment resistance ", " ", " ", " ", " ", " ", " + "}, - {"Mutation chance ", "always ", "often ", "sometimes ", "never ", "never ", "never"}, + {"Mutation chance ", "always ", "often ", "sometimes ", "never ", "never ", "never "}, - {"Mutation effects ", "full ", "capped ", "capped ", "none ", "none ", "none "}, + {"Non-physical " EOL + "mutation effects ", "full ", "capped ", "capped ", "none ", "none ", "none "}, - {"Stealth boost ", "none ", "none ", "none ", "minor ", "major ", "large"}, + {"Potion effects ", "full ", "full ", "full ", "halved ", "halved ", "halved"}, - {"Bat Form ", "no ", "no ", "yes ", "yes ", "yes ", "yes "}, + {"Bat Form ", "no ", "no ", "yes ", "yes ", "yes ", "yes "}, - {"Spell hunger ", "full ", "full ", "full ", "halved ", "none ", "none "} + {"Stealth boost ", "none ", "none ", "none ", "minor ", "major ", "large "}, + + {"Spell hunger ", "full ", "full ", "full ", "halved ", "none ", "none "} }; int current = 0; @@ -1461,7 +1465,7 @@ static void _display_vampire_attributes() current = 6; } - for (int y = 0; y < 12; y++) // lines (properties) + for (int y = 0; y < lines; y++) // lines (properties) { for (int x = 0; x < 7; x++) // columns (hunger states) { diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index db0f5e1c7e..e5a0f367f0 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -2308,8 +2308,7 @@ std::string _status_mut_abilities() text += "praying, "; if (you.disease && !you.duration[DUR_REGENERATION] - || you.species == SP_VAMPIRE && you.hunger_state == HS_STARVING - && you.attribute[ATTR_TRANSFORMATION] != TRAN_BAT) + || you.species == SP_VAMPIRE && you.hunger_state == HS_STARVING) { text += "non-regenerating, "; } diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ac9bae5a8a..96ebb92304 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -975,9 +975,7 @@ int player_regen(void) switch (you.hunger_state) { case HS_STARVING: - if (you.attribute[ATTR_TRANSFORMATION] != TRAN_BAT) - return (0); // No regeneration for starving vampires! - // intentional fall-through for bat form + return (0); // No regeneration for starving vampires! case HS_NEAR_STARVING: case HS_VERY_HUNGRY: case HS_HUNGRY: @@ -3690,11 +3688,7 @@ void display_char_status() attrib.push_back("resist torment"); if (you.experience_level >= 13) attrib.push_back("are in touch with the powers of death"); - - if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT) - attrib.push_back("heal slowly (as a bat)!"); - else - attrib.push_back("do not heal!"); + attrib.push_back("do not heal!"); break; case HS_NEAR_STARVING: attrib.push_back("resist poison"); @@ -3805,8 +3799,7 @@ void display_char_status() mpr( "You are praying." ); if (you.disease && !you.duration[DUR_REGENERATION] - && (you.species != SP_VAMPIRE || you.hunger_state != HS_STARVING - || you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT)) + && (you.species != SP_VAMPIRE || you.hunger_state != HS_STARVING)) { mpr("You do not heal."); } |