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/skills2.h | |
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/skills2.h')
-rw-r--r-- | crawl-ref/source/skills2.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h index 6a24cdb626..816e058b60 100644 --- a/crawl-ref/source/skills2.h +++ b/crawl-ref/source/skills2.h @@ -11,9 +11,6 @@ const int MAX_SKILL_ORDER = 100; #include "enum.h" #include "player.h" -// This threshold is in tenths of a skill point. -const int CROSSTRAIN_THRESHOLD = 1; - struct skill_state { FixedBitVector<NUM_SKILLS> can_train; @@ -73,8 +70,6 @@ skill_type opposite_skill(skill_type sk); bool compare_skills(skill_type sk1, skill_type sk2); vector<skill_type> get_crosstrain_skills(skill_type sk); -float crosstrain_bonus(skill_type sk); - int elemental_preference(spell_type spell, int scale = 1); void skill_menu(int flag = 0, int exp = 0); |