Difference between revisions of "Jumping"

From NetHackWiki
Jump to navigation Jump to search
m (Make that number_pad)
(Some rewording, especially to clarify that the #jump command does not cast the spell.)
Line 1: Line 1:
'''Jumping''' is a [[property]] that allows a player to traverse multiple [[tile]]s in one movement. You may do this using the [[extended command]] '''#jump''' or the command '''[[j]]'''. (The command '''j''' is only available if [[number_pad]] is set.) The ability to jump comes from three sources: being a [[Knight]], wearing [[jumping boots]], and casting the spell [[spellbook of jumping|jumping]]. Knight jumping and jumping from the boots are practically identical; the only difference is to which squares you can jump. All sources of jumping require that you see destination tile, and all sources of jumping consume d25 nutrition (in addition to any spellcasting hunger penalty) and render the player [[immobile]] for one full turn (not simply one move) after landing<ref>[[apply.c#1361]]</ref>. The jumping spell allows you to jump farther than you could if you were a Knight or wearing jumping boots; just how far depends on your [[skill]] in [[escape spells]].
+
'''Jumping''' is a [[property]] that allows a player to traverse multiple [[tile]]s in one movement. The ability to jump comes from three sources: being a [[Knight]], wearing [[jumping boots]], or reading a [[spellbook of jumping]]. To perform a jump:
 +
 
 +
* As a Knight or wearing the boots, you use the extended command '''#jump'''. If [[number_pad]] is set, you can also press '''[[j]]'''. Knight jumping and jumping from the boots are practically identical; the only difference is to which squares you can jump.
 +
* Using the spell, you must press '''[[Z]]''' and select ''jumping''. (The #jump command will not cast the spell; see [http://www.nicolaas.net/dudley/index.php?f=20071221 Dudley's dungeon of 21 December 2007] for a discussion of this.) The spell lets you jump farther, depending on your [[skill]] in [[escape spells]].
 +
 
 +
Using any of the three sources to jump, you must be able to see your destination. The jump will consume d25 [[nutrition]] (plus the usual spellcasting hunger penalty, if you cast the spell), and you become [[immobile]] for one full turn (not simply one move) after landing<ref>[[apply.c#1361]]</ref>. Players with [[speed]] can move farther in one turn by stepping as far as possible without advancing the turn counter, then jumping, ''see [[Speed#Strategy]]''.
  
 
In the following diagrams, tiles to which you can jump are marked by an 'x'.
 
In the following diagrams, tiles to which you can jump are marked by an 'x'.
Line 44: Line 49:
 
* You have less than six [[strength]].
 
* You have less than six [[strength]].
  
==References==
+
==Source code references==
 
<references />
 
<references />
  
 
[[Category:Properties]]
 
[[Category:Properties]]
 
[[Category:Extended commands]]
 
[[Category:Extended commands]]

Revision as of 21:39, 22 December 2007

Jumping is a property that allows a player to traverse multiple tiles in one movement. The ability to jump comes from three sources: being a Knight, wearing jumping boots, or reading a spellbook of jumping. To perform a jump:

  • As a Knight or wearing the boots, you use the extended command #jump. If number_pad is set, you can also press j. Knight jumping and jumping from the boots are practically identical; the only difference is to which squares you can jump.
  • Using the spell, you must press Z and select jumping. (The #jump command will not cast the spell; see Dudley's dungeon of 21 December 2007 for a discussion of this.) The spell lets you jump farther, depending on your skill in escape spells.

Using any of the three sources to jump, you must be able to see your destination. The jump will consume d25 nutrition (plus the usual spellcasting hunger penalty, if you cast the spell), and you become immobile for one full turn (not simply one move) after landing[1]. Players with speed can move farther in one turn by stepping as far as possible without advancing the turn counter, then jumping, see Speed#Strategy.

In the following diagrams, tiles to which you can jump are marked by an 'x'.

 Knight's Jump   Jumping Boots
   .........       .........
   .........       ....x....
   ...x.x...       ..xxxxx..
   ..x...x..       ..xxxxx..
   ....@....       .xxx@xxx.
   ..x...x..       ..xxxxx..
   ...x.x...       ..xxxxx..
   .........       ....x....
   .........       .........
 
                      JUMPING SPELL
  Unskilled        Basic         Skilled         Expert
 ...........    ...........    ...........    ...........
 ...........    ...........    ...........    ....xxx....
 .....x.....    ....xxx....    ...xxxxx...    ..xxxxxxx..
 ...xxxxx...    ...xxxxx...    ..xxxxxxx..    ..xxxxxxx..
 ...xxxxx...    ..xxxxxxx..    ..xxxxxxx..    .xxxxxxxxx.
 ..xxx@xxx..    ..xxx@xxx..    ..xxx@xxx..    .xxxx@xxxx.
 ...xxxxx...    ..xxxxxxx..    ..xxxxxxx..    .xxxxxxxxx.
 ...xxxxx...    ...xxxxx...    ..xxxxxxx..    ..xxxxxxx..
 .....x.....    ....xxx....    ...xxxxx...    ..xxxxxxx..
 ...........    ...........    ...........    ....xxx....
 ...........    ...........    ...........    ...........

You cannot jump if:

In addition, if you are not casting the jumping spell, you cannot jump if:

  • You do not have legs.
  • You are burdened to any degree.
  • You are hungrier than the halfway point between not hungry and weak.
  • You have less than six strength.

Source code references