diff options
author | Brendan Hickey <brendan@bhickey.net> | 2014-06-12 01:19:39 +0000 |
---|---|---|
committer | Brendan Hickey <brendan@bhickey.net> | 2014-06-12 01:21:04 +0000 |
commit | 7c1a5597fd584d7b42c61b9cbf5a88e1c8f43a0b (patch) | |
tree | c180d82d5dd89e1025bbcc0b2cb00a772fc9a85e /crawl-ref/source/skills.cc | |
parent | 2e5c74cbc0fdefbc508c83c0693159720cbe6fc8 (diff) | |
download | crawl-ref-7c1a5597fd584d7b42c61b9cbf5a88e1c8f43a0b.tar.gz crawl-ref-7c1a5597fd584d7b42c61b9cbf5a88e1c8f43a0b.zip |
Convert crosstraining into an enhancer bonus
Remove traditional crosstraining.
Replace it with a 20% skillpoint enhancer bonus.
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r-- | crawl-ref/source/skills.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc index d58d566259..43e1b9f415 100644 --- a/crawl-ref/source/skills.cc +++ b/crawl-ref/source/skills.cc @@ -920,10 +920,6 @@ static int _train(skill_type exsk, int &max_exp, bool simu) // This will be deducted from you.exp_available. int cost = calc_skill_cost(you.skill_cost_level); - // Being good at some weapons makes others easier to learn. - if (exsk < SK_ARMOUR) - skill_inc *= crosstrain_bonus(exsk); - // Scale cost and skill_inc to available experience. const int spending_limit = min(MAX_SPENDING_LIMIT, max_exp); if (cost > spending_limit) @@ -952,8 +948,6 @@ static int _train(skill_type exsk, int &max_exp, bool simu) const skill_type old_best_skill = best_skill(SK_FIRST_SKILL, SK_LAST_SKILL); you.skill_points[exsk] += skill_inc; - you.ct_skill_points[exsk] += (1 - 1 / crosstrain_bonus(exsk)) - * skill_inc; you.exp_available -= cost; you.total_experience += cost; max_exp -= cost; |