This is an old revision of the document!
User can 'skip' over 1-2 spaces in a selected direction. Distance depends on weight carried , STR and DEX of the user. This skill may also be used as an attack. Jumping is a Physique skill type.
Unknown, should immediately attempt to jump in the direction, the player is facing.
Syntax : use_skill jumping
User can 'skip' over 1-2 spaces in a selected direction when fired with the shift key.
This will attack if a creature is in the way.
Syntax : ready_skill jumping
From Server source crossfire/server/skills.c int jump(object *pl, int dir, object *skill) :
stats=str*str*str*dex * skill→level;
Distance limited to 2 tiles:
if(pl->carrying!=0) /* don't want div by zero !! */ spaces=(int) (stats/pl->carrying); else spaces=2; /* pl has no objects - gets the far jump */ if(spaces>2) spaces = 2; else if(spaces==0) { new_draw_info(NDI_UNIQUE, 0,pl,"You are carrying too much weight to jump."); return 0;
The source code has a comment that asks for allowing a greater distance to jump :
* Perhaps we should allow more spaces based on level, eg, level 50
* jumper can jump several spaces?