summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.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/godpassive.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/godpassive.h')
-rw-r--r--crawl-ref/source/godpassive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h
index 43c3235722..c7e24d03d7 100644
--- a/crawl-ref/source/godpassive.h
+++ b/crawl-ref/source/godpassive.h
@@ -29,7 +29,7 @@ void ash_id_inventory();
void ash_id_monster_equipment(monster* mon);
int ash_detect_portals(bool all);
monster_type ash_monster_tier(const monster *mon);
-int ash_skill_boost(skill_type sk);
+int ash_skill_boost(skill_type sk, int scale);
std::map<skill_type, int8_t> ash_get_boosted_skills(eq_type type);
#endif