summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skill_menu.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-10 22:59:35 -0400
committerNeil Moore <neil@s-z.org>2014-06-10 23:00:57 -0400
commit3740176435dd010402369b781d085d380701906d (patch)
treec7fddc2451cf943c01c3a1f21059d7b74277d60d /crawl-ref/source/skill_menu.cc
parentadd05a9ee7f9bae9260e7ed66badba0528f32be4 (diff)
downloadcrawl-ref-3740176435dd010402369b781d085d380701906d.tar.gz
crawl-ref-3740176435dd010402369b781d085d380701906d.zip
Remove more antitraining.
Including skill descriptions, the skill menu flag, the penalty multiplier constant, and a comment.
Diffstat (limited to 'crawl-ref/source/skill_menu.cc')
-rw-r--r--crawl-ref/source/skill_menu.cc23
1 files changed, 3 insertions, 20 deletions
diff --git a/crawl-ref/source/skill_menu.cc b/crawl-ref/source/skill_menu.cc
index a5b47b4660..9108f8db0f 100644
--- a/crawl-ref/source/skill_menu.cc
+++ b/crawl-ref/source/skill_menu.cc
@@ -1227,37 +1227,21 @@ void SkillMenu::set_default_help()
text = hints_skills_info();
else
{
- if (!is_set(SKMF_CROSSTRAIN) && !is_set(SKMF_ANTITRAIN))
+ if (!is_set(SKMF_CROSSTRAIN))
text = m_switches[SKM_VIEW]->get_help();
- if (get_state(SKM_LEVEL) == SKM_LEVEL_ENHANCED
- && !(is_set(SKMF_CROSSTRAIN) && is_set(SKMF_ANTITRAIN)))
- {
+ if (get_state(SKM_LEVEL) == SKM_LEVEL_ENHANCED)
text += m_switches[SKM_LEVEL]->get_help();
- }
else
text += "The species aptitude is in <white>white</white>. ";
if (is_set(SKMF_CROSSTRAIN))
- text += "Crosstraining is in <green>green</green>. ";
- if (is_set(SKMF_ANTITRAIN))
- text += "Antitraining is in <red>red</red>. ";
- if (is_set(SKMF_CROSSTRAIN) && is_set(SKMF_ANTITRAIN))
- {
- text += "The skill responsible for the bonus or malus is "
- "marked with '*'.";
- }
- else if (is_set(SKMF_CROSSTRAIN))
{
+ text += "Crosstraining is in <green>green</green>. ";
text += "The skill responsible for the bonus is marked with "
"'<green>*</green>'.";
}
- else if (is_set(SKMF_ANTITRAIN))
- {
- text += "The skill responsible for the malus is marked with "
- "'<red>*</red>'.";
- }
}
// This one takes priority.
@@ -1286,7 +1270,6 @@ void SkillMenu::set_skills()
SkillMenuEntry::m_letter = '9';
bool default_set = false;
clear_flag(SKMF_CROSSTRAIN);
- clear_flag(SKMF_ANTITRAIN);
int col = 0, ln = 0;