summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-05 13:25:38 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-05 14:05:57 +0100
commitd3dac1d95f5238e49e9220f51b8ee0bd272dae9c (patch)
treed96c8011121b4025fd9ddf94451da9888231cb0c /crawl-ref/source/newgame.cc
parentff1476960ef0870377a1428cda24d60569178858 (diff)
downloadcrawl-ref-d3dac1d95f5238e49e9220f51b8ee0bd272dae9c.tar.gz
crawl-ref-d3dac1d95f5238e49e9220f51b8ee0bd272dae9c.zip
Give OgEn, OgTh, OgAs, OgSt clubs instead of short swords.
Same with trolls of these professions. Both races have abysmal aptitudes with short blades but are good with M&F.
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc19
1 files changed, 14 insertions, 5 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 7920b6ddda..a6120ef052 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -4328,7 +4328,6 @@ bool _give_items_skills()
case JOB_ENCHANTER:
_newgame_make_item(0, EQ_WEAPON, OBJ_WEAPONS, WPN_SHORT_SWORD, -1, 1, 1,
1);
-
_newgame_make_item(1, EQ_BODY_ARMOUR, OBJ_ARMOUR, ARM_ROBE, -1, 1, 1);
_newgame_make_item(2, EQ_NONE, OBJ_BOOKS, BOOK_CHARMS);
@@ -4340,8 +4339,10 @@ bool _give_items_skills()
// necessary. (jpeg)
if (you.species == SP_SPRIGGAN)
you.inv[0].sub_type = WPN_DAGGER;
+ if (you.species == SP_OGRE || you.species == SP_TROLL)
+ you.inv[0].sub_type = WPN_CLUB;
- you.skills[SK_SHORT_BLADES] = 1;
+ weap_skill = 1;
you.skills[SK_DARTS] = 1;
you.skills[SK_ENCHANTMENTS] = 4;
you.skills[SK_SPELLCASTING] = 1;
@@ -4456,8 +4457,11 @@ bool _give_items_skills()
_newgame_make_item(2, EQ_CLOAK, OBJ_ARMOUR, ARM_CLOAK);
_newgame_make_item(3, EQ_NONE, OBJ_BOOKS, BOOK_STALKING);
+ if (you.species == SP_OGRE || you.species == SP_TROLL)
+ you.inv[0].sub_type = WPN_CLUB;
+
you.skills[SK_FIGHTING] = 1;
- you.skills[SK_SHORT_BLADES] = 1;
+ weap_skill = 1;
you.skills[SK_POISON_MAGIC] = 1;
you.skills[SK_DODGING] = 2;
you.skills[SK_STEALTH] = 2;
@@ -4480,8 +4484,10 @@ bool _give_items_skills()
// necessary. (jpeg)
if (you.species == SP_SPRIGGAN)
you.inv[0].sub_type = WPN_DAGGER;
+ if (you.species == SP_OGRE || you.species == SP_TROLL)
+ you.inv[0].sub_type = WPN_CLUB;
- you.skills[SK_SHORT_BLADES] = 2;
+ weap_skill = 2;
you.skills[SK_FIGHTING] = 1;
you.skills[SK_DODGING] = 2;
you.skills[SK_STEALTH] = 2;
@@ -4502,7 +4508,10 @@ bool _give_items_skills()
_newgame_make_item(5, EQ_NONE, OBJ_MISSILES, MI_NEEDLE, -1, 3);
set_item_ego_type(you.inv[5], OBJ_MISSILES, SPMSL_CURARE);
- you.skills[SK_SHORT_BLADES] = 2;
+ if (you.species == SP_OGRE || you.species == SP_TROLL)
+ you.inv[0].sub_type = WPN_CLUB;
+
+ weap_skill = 2;
you.skills[SK_FIGHTING] = 2;
you.skills[SK_DODGING] = 1;
you.skills[SK_STEALTH] = 3;