From e7e1a8a22707c7f815d9420793ae1beb276eb6a2 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 25 Nov 2009 20:41:31 +0100 Subject: Revert "Deny skill exercise if not enough available xp (mesilliac)." This reverts commit 2fc79a6d0d709878025fa1f06cf2a5344098f333. Didn't work out too well -- it turns out that this starves rarely trained skills compared to skills that are exercised often (and usually with empty pool before this change). That doesn't mean the approach of a never emptying skill pool couldn't work, but it would require more invasive changes, like randomly denying exercise of the heavily exercised skills. --- crawl-ref/source/skills.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc index 66d6adb6c2..d39635531a 100644 --- a/crawl-ref/source/skills.cc +++ b/crawl-ref/source/skills.cc @@ -150,13 +150,6 @@ int exercise(int exsk, int deg) if (you.exp_available <= 0 || you.skills[exsk] >= 27) break; - // randomly deny skill excercise if not many points available - if (random2(you.exp_pool_cutoff()/10) >= you.exp_available) - { - deg--; - continue; - } - if (you.practise_skill[exsk] || one_chance_in(4)) ret += _exercise2( exsk ); -- cgit v1.2.3-54-g00ecf