diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-11-08 19:04:13 +0000 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-11 03:54:06 +0100 |
commit | 723b4fa0c231dc452cc1ff30a01780d71ac83882 (patch) | |
tree | bb422b699919251ff2d60ac7fe0a150de183a38d /crawl-ref/source/player-stats.cc | |
parent | d12a4ba87f98e8d1ac6495ea9190b97d9c0129bc (diff) | |
download | crawl-ref-723b4fa0c231dc452cc1ff30a01780d71ac83882.tar.gz crawl-ref-723b4fa0c231dc452cc1ff30a01780d71ac83882.zip |
Remove moths of suppression
Suppression is a hugely complicated and inconsistent mechanic. Its
original purpose was to be a way of overriding rPois in Spider but
there are now plenty of monsters that do this effectively (and much more
simply).
[1KB: I moved this to trunk, as it made an already extremely hard to review
branch massively more so. There's nothing but a single enum to preserve,
so compat break doesn't make this removal any easier or harder.]
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r-- | crawl-ref/source/player-stats.cc | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc index a8292c56c2..71ada61560 100644 --- a/crawl-ref/source/player-stats.cc +++ b/crawl-ref/source/player-stats.cc @@ -372,17 +372,14 @@ static int _strength_modifier() result += chei_stat_boost(); - if (!you.suppressed()) - { - // ego items of strength - result += 3 * count_worn_ego(SPARM_STRENGTH); + // ego items of strength + result += 3 * count_worn_ego(SPARM_STRENGTH); - // rings of strength - result += you.wearing(EQ_RINGS_PLUS, RING_STRENGTH); + // rings of strength + result += you.wearing(EQ_RINGS_PLUS, RING_STRENGTH); - // randarts of strength - result += you.scan_artefacts(ARTP_STRENGTH); - } + // randarts of strength + result += you.scan_artefacts(ARTP_STRENGTH); // mutations result += 2 * (player_mutation_level(MUT_STRONG) @@ -418,17 +415,14 @@ static int _int_modifier() result += chei_stat_boost(); - if (!you.suppressed()) - { - // ego items of intelligence - result += 3 * count_worn_ego(SPARM_INTELLIGENCE); + // ego items of intelligence + result += 3 * count_worn_ego(SPARM_INTELLIGENCE); - // rings of intelligence - result += you.wearing(EQ_RINGS_PLUS, RING_INTELLIGENCE); + // rings of intelligence + result += you.wearing(EQ_RINGS_PLUS, RING_INTELLIGENCE); - // randarts of intelligence - result += you.scan_artefacts(ARTP_INTELLIGENCE); - } + // randarts of intelligence + result += you.scan_artefacts(ARTP_INTELLIGENCE); // mutations result += 2 * (player_mutation_level(MUT_CLEVER) @@ -449,17 +443,14 @@ static int _dex_modifier() result += chei_stat_boost(); - if (!you.suppressed()) - { - // ego items of dexterity - result += 3 * count_worn_ego(SPARM_DEXTERITY); + // ego items of dexterity + result += 3 * count_worn_ego(SPARM_DEXTERITY); - // rings of dexterity - result += you.wearing(EQ_RINGS_PLUS, RING_DEXTERITY); + // rings of dexterity + result += you.wearing(EQ_RINGS_PLUS, RING_DEXTERITY); - // randarts of dexterity - result += you.scan_artefacts(ARTP_DEXTERITY); - } + // randarts of dexterity + result += you.scan_artefacts(ARTP_DEXTERITY); // mutations result += 2 * (player_mutation_level(MUT_AGILE) |