]> granicus.if.org Git - nethack/commitdiff
weapon skill tweak
authornethack.rankin <nethack.rankin>
Thu, 23 Oct 2003 07:12:03 +0000 (07:12 +0000)
committernethack.rankin <nethack.rankin>
Thu, 23 Oct 2003 07:12:03 +0000 (07:12 +0000)
     Barbarians start with either a two-handed sword and an ordinary axe
or a battle-axe and a short sword.  The latter combination was the only
one among all the roles where the player couldn't enhance skills for
starting weapons to expert.  Fix that by allowing barbarians to become
expert in short swords; reduce potential capability with pick-axe/mattock
from expert down to skilled to compensate for the increase.

     This also addresses an earlier complaint that monks are no better in
martial arts than samurai even though the latter have lots of choices for
good weapon skills.  Reduce the martial arts limit on samurai from grand
master to just master; likewise with bare-handed combat for barbarians
and cavemen.  In this case there didn't seem to be any need to bump the
limit on anything else as compensation.

     I still think non-rogues shouldn't be allowed to become expert in
daggers (which means that ranger and valkyrie starting gear would need
to change slightly) due to how powerful throwing them is, but I haven't
included that change here.

     For the skills which have lower upper limits than before, existing
characters who have #enhanced their skills high enough with the previous
code will retain their higher-than-max skill ranking with the new code.
Characters who have exercised enough to advance to the old max but
haven't done so yet will be limited to the new max.

doc/fixes34.3
src/u_init.c

index 0dc20adbab0c4aa62fe0a83260a3569893515dff..212fafacfd185f0b03dc88edf4964f3c59fb0b56 100644 (file)
@@ -70,6 +70,9 @@ cutting a shopkeeper polymorphed in to a long worm would generate strange
        messages and could cause a crash
 reading a cursed scroll of light in a corridor wouldn't display correctly
        if lit_corridor option was disabled
+barbarians can become export in short sword skill
+samurai are now limited to master in martial arts skill; barbarians and
+       cavemen are now limited to master in bare-handed combat skill
 
 
 Platform- and/or Interface-Specific Fixes
index 114893c50de5d8c7020f16e23af908e96ae3270b..77c92b0c568c838cb6f801026765f0e638bbd0ec 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)u_init.c   3.4     2002/03/02      */
+/*     SCCS Id: @(#)u_init.c   3.4     2002/10/22      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -271,7 +271,7 @@ static const struct def_skill Skill_A[] = {
 
 static const struct def_skill Skill_B[] = {
     { P_DAGGER, P_BASIC },             { P_AXE, P_EXPERT },
-    { P_PICK_AXE, P_EXPERT },          { P_SHORT_SWORD, P_BASIC },
+    { P_PICK_AXE, P_SKILLED }, { P_SHORT_SWORD, P_EXPERT },
     { P_BROAD_SWORD, P_SKILLED },      { P_LONG_SWORD, P_SKILLED },
     { P_TWO_HANDED_SWORD, P_EXPERT },  { P_SCIMITAR, P_SKILLED },
     { P_SABER, P_BASIC },              { P_CLUB, P_SKILLED },
@@ -284,7 +284,7 @@ static const struct def_skill Skill_B[] = {
     { P_RIDING, P_BASIC },
 #endif
     { P_TWO_WEAPON_COMBAT, P_BASIC },
-    { P_BARE_HANDED_COMBAT, P_GRAND_MASTER },
+    { P_BARE_HANDED_COMBAT, P_MASTER },
     { P_NONE, 0 }
 };
 
@@ -299,7 +299,7 @@ static const struct def_skill Skill_C[] = {
     { P_BOW, P_SKILLED },              { P_SLING, P_EXPERT },
     { P_ATTACK_SPELL, P_BASIC },       { P_MATTER_SPELL, P_SKILLED },
     { P_BOOMERANG, P_EXPERT },         { P_UNICORN_HORN, P_BASIC },
-    { P_BARE_HANDED_COMBAT, P_GRAND_MASTER },
+    { P_BARE_HANDED_COMBAT, P_MASTER },
     { P_NONE, 0 }
 };
 
@@ -422,7 +422,7 @@ static const struct def_skill Skill_S[] = {
     { P_RIDING, P_SKILLED },
 #endif
     { P_TWO_WEAPON_COMBAT, P_EXPERT },
-    { P_MARTIAL_ARTS, P_GRAND_MASTER },
+    { P_MARTIAL_ARTS, P_MASTER },
     { P_NONE, 0 }
 };