summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-05 10:40:11 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-05 10:40:11 +0000
commit42376a825a80fc8770b3ec8e95e2f6a652dfaa97 (patch)
tree17ee1d70abb6ba6f5500c96a7e189637c0abc375 /crawl-ref/source/newgame.cc
parent8cfb01c6779df030a5dcf3dd2a1fb4d5980d6e14 (diff)
downloadcrawl-ref-42376a825a80fc8770b3ec8e95e2f6a652dfaa97.tar.gz
crawl-ref-42376a825a80fc8770b3ec8e95e2f6a652dfaa97.zip
Fix Death Knights of Yredelemnul starting with a book of Necromancy.
(Reading "Something Awful" really pays off sometimes. :) ) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6405 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 4a93276ba3..69b8bce212 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -4551,10 +4551,14 @@ bool _give_items_skills()
ng_dk = (keyn == '*'? DK_RANDOM : choice);
}
+ _newgame_make_item(1, EQ_BODY_ARMOUR, OBJ_ARMOUR, ARM_ROBE);
+
switch (choice)
{
- default: // this shouldn't happen anyways -- bwr
+ default: // This shouldn't happen anyways. -- bwr
case DK_NECROMANCY:
+ _newgame_make_item(2, EQ_NONE, OBJ_BOOKS, BOOK_NECROMANCY);
+
you.skills[SK_SPELLCASTING] = 1;
you.skills[SK_NECROMANCY] = 2;
break;
@@ -4571,9 +4575,6 @@ bool _give_items_skills()
if (you.inv[0].quantity < 1)
_newgame_clear_item(0);
- _newgame_make_item(1, EQ_BODY_ARMOUR, OBJ_ARMOUR, ARM_ROBE);
- _newgame_make_item(2, EQ_NONE, OBJ_BOOKS, BOOK_NECROMANCY);
-
you.skills[SK_FIGHTING] = 2;
you.skills[SK_ARMOUR] = 1;
you.skills[SK_DODGING] = 1;