summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-10-24 16:51:11 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-10-25 00:23:27 +0200
commit3ee79433628a0c6cb86b91536b2dce0db000d6d7 (patch)
tree2e52b06dafdf2b1f0a496b8c75480f7f8561e86c /crawl-ref/source/skills2.h
parent414cac6d8abf8df078ea0e773655bc4d5f991d94 (diff)
downloadcrawl-ref-3ee79433628a0c6cb86b91536b2dce0db000d6d7.tar.gz
crawl-ref-3ee79433628a0c6cb86b91536b2dce0db000d6d7.zip
New Ashenzari skill boost formula.
The scale is more regular. The formula is: factor * piety_rank * skill_level low bonus -> factor = 3 medium bonus -> factor = 5 high bonus -> factor = 7 low medium high current new current new current new 1 0.7 1.7 1.0 2.5 1.2 3.1 2 1.5 2.2 2.0 3.3 2.5 4.2 3 2.2 2.6 3.0 3.8 3.7 4.9 4 3.0 2.8 4.0 4.2 5.0 5.3 5 3.7 3.0 5.0 4.4 6.2 5.6 6 4.5 3.1 6.0 4.5 7.5 5.7 7 4.2 3.1 5.7 4.5 7.2 5.7 8 4.0 3.0 5.5 4.4 7.0 5.7 9 3.7 2.9 5.2 4.3 6.7 5.6 10 3.5 2.8 5.0 4.2 6.5 5.5 11 3.2 2.7 4.7 4.2 6.2 5.5 12 3.0 2.6 4.5 4.1 6.0 5.4 13 2.7 2.6 4.2 4.1 5.7 5.4 14 2.5 2.5 4.0 4.0 5.5 5.3 15 2.2 2.5 3.7 4.0 5.2 5.2 16 2.0 2.5 3.5 3.9 5.0 5.1 17 1.7 2.4 3.2 3.8 4.7 5.0 18 1.5 2.3 3.0 3.6 4.5 4.9 19 1.2 2.2 2.7 3.5 4.2 4.8 20 1.0 2.2 2.5 3.5 4.0 4.7 21 0.7 2.1 2.2 3.4 3.7 4.6 22 0.5 2.1 2.0 3.3 3.5 4.5 23 0.2 2.0 1.7 3.3 3.2 4.0 24 0.0 2.0 1.5 3.0 3.0 3.0 25 0.0 1.9 1.2 2.0 2.0 2.0 26 0.0 1.0 1.0 1.0 1.0 1.0 27 0.0 0.0 0.0 0.0 0.0 0.0
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index 109528d25e..ae3f0506a9 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -33,6 +33,7 @@ struct skill_state
void restore_training();
};
+int get_skill_progress(skill_type sk, int level, int points, int scale);
int get_skill_progress(skill_type sk, int scale);
int get_skill_percentage(const skill_type x);
const char *skill_name(skill_type which_skill);