diff options
author | Brendan Hickey <brendan@bhickey.net> | 2013-08-25 22:06:38 -0700 |
---|---|---|
committer | Brendan Hickey <brendan@bhickey.net> | 2013-08-25 22:10:01 -0700 |
commit | df70192d518bc1bd41abff140a940903ceb9a924 (patch) | |
tree | c25149e1b100ba6d39b212101931a682ddcd602a /crawl-ref/source/player-stats.cc | |
parent | d8154f07b272e73a08a37eecf730178c17667f4c (diff) | |
download | crawl-ref-df70192d518bc1bd41abff140a940903ceb9a924.tar.gz crawl-ref-df70192d518bc1bd41abff140a940903ceb9a924.zip |
Make stat mutations less boring.
Replace 14 levels of stat mutations with 2.
Each tier conveys +/-2.
If a player happened to have +14 strength, for example,
convert the excess strength to base strength.
Be conservative in converting bad stat mutations to avoid
splatting players.
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r-- | crawl-ref/source/player-stats.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc index 7e924bc2c3..d2e3a7b971 100644 --- a/crawl-ref/source/player-stats.cc +++ b/crawl-ref/source/player-stats.cc @@ -371,8 +371,8 @@ static int _strength_modifier() } // mutations - result += player_mutation_level(MUT_STRONG) - - player_mutation_level(MUT_WEAK); + result += 2 * (player_mutation_level(MUT_STRONG) + - player_mutation_level(MUT_WEAK)); #if TAG_MAJOR_VERSION == 34 result += player_mutation_level(MUT_STRONG_STIFF) - player_mutation_level(MUT_FLEXIBLE_WEAK); @@ -417,8 +417,8 @@ static int _int_modifier() } // mutations - result += player_mutation_level(MUT_CLEVER) - - player_mutation_level(MUT_DOPEY); + result += 2 * (player_mutation_level(MUT_CLEVER) + - player_mutation_level(MUT_DOPEY)); return result; } @@ -448,8 +448,8 @@ static int _dex_modifier() } // mutations - result += player_mutation_level(MUT_AGILE) - - player_mutation_level(MUT_CLUMSY); + result += 2 * (player_mutation_level(MUT_AGILE) + - player_mutation_level(MUT_CLUMSY)); #if TAG_MAJOR_VERSION == 34 result += player_mutation_level(MUT_FLEXIBLE_WEAK) - player_mutation_level(MUT_STRONG_STIFF); |