MCPcopy Create free account
hub / github.com/NetHack/NetHack / exercise_steed

Function exercise_steed

src/steed.c:386–398  ·  view source on GitHub ↗

You and your steed have moved */

Source from the content-addressed store, hash-verified

384
385/* You and your steed have moved */
386void
387exercise_steed(void)
388{
389 if (!u.usteed)
390 return;
391
392 /* It takes many turns of riding to exercise skill */
393 if (++u.urideturns >= 100) {
394 u.urideturns = 0;
395 use_skill(P_RIDING, 1);
396 }
397 return;
398}
399
400/* The player kicks or whips the steed */
401void

Callers 1

domove_coreFunction · 0.85

Calls 1

use_skillFunction · 0.85

Tested by

no test coverage detected