summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-06 10:43:25 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-06 10:43:25 +0000
commitf98faaf4a0a5c3caf5f8fe1b57ccf065bf1d959c (patch)
treeb086ac759ffa559df7fbe9c07ab132a6d6ce6b73 /crawl-ref
parentc070e96a6ea1231489aaecbd809db857d4b1f021 (diff)
downloadcrawl-ref-f98faaf4a0a5c3caf5f8fe1b57ccf065bf1d959c.tar.gz
crawl-ref-f98faaf4a0a5c3caf5f8fe1b57ccf065bf1d959c.zip
Fix 2039734: non-Spriggan transmuters being cheated on Unarmed Combat.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6779 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/newgame.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 3a32194a3e..f0c2973a96 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -5069,6 +5069,9 @@ bool _give_items_skills()
_newgame_make_item(4, EQ_NONE, OBJ_POTIONS, POT_CONFUSION, -1, 2);
_newgame_make_item(5, EQ_NONE, OBJ_POTIONS, POT_POISON);
+ // Do this early because it might be increased later.
+ you.skills[SK_UNARMED_COMBAT] = 1;
+
if (you.species == SP_SPRIGGAN)
{
_make_rod(you.inv[0], STAFF_STRIKING);
@@ -5080,7 +5083,6 @@ bool _give_items_skills()
you.skills[SK_UNARMED_COMBAT] += 2;
you.skills[SK_FIGHTING] = 1;
- you.skills[SK_UNARMED_COMBAT] = 1;
you.skills[SK_DODGING] = 2;
you.skills[SK_SPELLCASTING] = 2;
you.skills[SK_TRANSMIGRATION] = 2;