From efb6b63c27fab83612572f7ebba318f40886e1d7 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 20 Jun 2007 06:51:47 +0000 Subject: 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 --- crawl-ref/source/player.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/player.cc') 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 ); -- cgit v1.2.3-54-g00ecf