From 4f849c43a3add816fd41f0e3c89e387558015419 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 23 Feb 2009 10:30:25 +0000 Subject: Remove aptitude multipliers when picking skills for randart books since they're also not used for other acquirements. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9172 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-book.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/spl-book.cc') diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index f35903dfdb..65052132b5 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -2098,11 +2098,10 @@ static bool _get_weighted_discs(bool completely_random, god_type god, for (int i = 0; i < num_discs; i++) { int skill = skills[i]; - int weight = you.skills[skill] - * 200 / species_skills(skill, you.species) + 1; + int weight = 2 * you.skills[skill] + 1; - if (spellcount[i] < 5) - weight -= 5 - spellcount[i]; + if (spellcount[i] < 3) + weight *= spellcount[i]/3; skill_weights[i] = std::max(0, weight); total_skills += skill_weights[i]; -- cgit v1.2.3-54-g00ecf