diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-20 06:51:47 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-20 06:51:47 +0000 |
commit | efb6b63c27fab83612572f7ebba318f40886e1d7 (patch) | |
tree | 1a7de5a7cf347611d2de35e2af168259ce7a2ae6 /crawl-ref/source/player.cc | |
parent | c2a18ff7903205165e6eab5c619a25e6cd2216cd (diff) | |
download | crawl-ref-efb6b63c27fab83612572f7ebba318f40886e1d7.tar.gz crawl-ref-efb6b63c27fab83612572f7ebba318f40886e1d7.zip |
Robes of the archmagi reduce experience gain to 0.25 normal, instead of
the old 0.05.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1606 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index aa5098b3ff..598aa55dc0 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2215,12 +2215,8 @@ void forget_map(unsigned char chance_forgotten) void gain_exp( unsigned int exp_gained ) { - - if (player_equip_ego_type( EQ_BODY_ARMOUR, SPARM_ARCHMAGI ) - && !one_chance_in(20)) - { - return; - } + if (player_equip_ego_type( EQ_BODY_ARMOUR, SPARM_ARCHMAGI )) + exp_gained = div_rand_round( exp_gained, 4 ); #if DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, "gain_exp: %d", exp_gained ); |