diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-25 20:41:31 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-25 20:44:47 +0100 |
commit | e7e1a8a22707c7f815d9420793ae1beb276eb6a2 (patch) | |
tree | db33cf7ab0528a11b03bbfee7834202d95027fe0 /crawl-ref/source/skills.cc | |
parent | fa8b82009f6db843167bd034991367088e73f4fb (diff) | |
download | crawl-ref-e7e1a8a22707c7f815d9420793ae1beb276eb6a2.tar.gz crawl-ref-e7e1a8a22707c7f815d9420793ae1beb276eb6a2.zip |
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.
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r-- | crawl-ref/source/skills.cc | 7 |
1 files changed, 0 insertions, 7 deletions
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 ); |