summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-19 00:05:15 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-19 00:09:47 +0200
commit08012983ebf16be4922a5562ab017da9edee607f (patch)
treeef6aa69b56bbb87b2a6d3d8d22745af8685160e1 /crawl-ref/source/skills2.h
parentffb79818e5dccf7cbb54806d924909b0ffe903bc (diff)
downloadcrawl-ref-08012983ebf16be4922a5562ab017da9edee607f.tar.gz
crawl-ref-08012983ebf16be4922a5562ab017da9edee607f.zip
Give you.skill() a "scale" argument for partial skills, make callers use it.
Almost all uses have been converted, the only major one is unarmed base damage. For users of raw you.skills[], hp and mp calculations have been changed as well. you.skill() doesn't actually return partial values yet.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index 5e896d43f8..7f277f2dc7 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -74,7 +74,7 @@ void dump_skills(std::string &text);
int skill_transfer_amount(skill_type sk);
int transfer_skill_points(skill_type fsk, skill_type tsk, int skp_max,
bool simu, bool boost = false);
-int skill_bump(skill_type skill);
+int skill_bump(skill_type skill, int scale = 1);
static const skill_type skill_display_order[] =
{