diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-10-28 20:30:50 -0700 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-29 10:38:11 +0100 |
commit | ebfbb6fbb71da74b891711361ce8191a1f60a7b6 (patch) | |
tree | 3469b2f7eadc654ea288092d8cffa9cff1f1da33 /crawl-ref | |
parent | 3b5ca2d045d08bf55343e85ee1eab4b6c924bba5 (diff) | |
download | crawl-ref-ebfbb6fbb71da74b891711361ce8191a1f60a7b6.tar.gz crawl-ref-ebfbb6fbb71da74b891711361ce8191a1f60a7b6.zip |
Give deep dwarves passive, not active mapping
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/newgame.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/player.cc | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index e36fa10a01..df214075d7 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -1541,8 +1541,8 @@ void give_basic_mutations(species_type speci) you.mutation[MUT_NEGATIVE_ENERGY_RESISTANCE] = 3; break; case SP_DEEP_DWARF: - you.mutation[MUT_SLOW_HEALING] = 3; - you.mutation[MUT_MAPPING] = 2; + you.mutation[MUT_SLOW_HEALING] = 3; + you.mutation[MUT_PASSIVE_MAPPING] = 1; break; case SP_GHOUL: you.mutation[MUT_TORMENT_RESISTANCE] = 1; diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index a22fc84079..6c7d146ab5 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3131,6 +3131,12 @@ void level_change(bool skip_attribute_increase) perma_mutate(MUT_NEGATIVE_ENERGY_RESISTANCE, 1); } + if ((you.experience_level == 9) + || (you.experience_level == 18)) + { + perma_mutate(MUT_PASSIVE_MAPPING, 1); + } + if (!(you.experience_level % 4)) { modify_stat(coinflip() ? STAT_STRENGTH |