summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-01 11:11:01 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-09 05:30:28 +0100
commit618655495125eecf034a657fa79057517dc326ce (patch)
tree39a77f690c54ed07580b347e6ae5904bcb49fd4e /crawl-ref/source/skills.cc
parentc4feebf056305ad7265cc2f27934d6e002759622 (diff)
downloadcrawl-ref-618655495125eecf034a657fa79057517dc326ce.tar.gz
crawl-ref-618655495125eecf034a657fa79057517dc326ce.zip
Remove the Sage effect
Since the card was removed and it only remained as a Zotdef effect.
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r--crawl-ref/source/skills.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc
index 2d7145db8b..8f25693506 100644
--- a/crawl-ref/source/skills.cc
+++ b/crawl-ref/source/skills.cc
@@ -144,18 +144,7 @@ static void _change_skill_level(skill_type exsk, int n)
take_note(Note(NOTE_LOSE_SKILL, exsk, you.skills[exsk]));
if (you.skills[exsk] == 27)
- {
mprf(MSGCH_INTRINSIC_GAIN, "You have mastered %s!", skill_name(exsk));
- for (int i = you.sage_skills.size() - 1; i >= 0; i--)
- {
- if (you.sage_skills[i] == exsk)
- {
- erase_any(you.sage_skills, i);
- erase_any(you.sage_xp, i);
- erase_any(you.sage_bonus, i);
- }
- }
- }
else if (abs(n) == 1 && you.num_turns)
{
mprf(MSGCH_INTRINSIC_GAIN, "Your %s skill %s to level %d!",