MCPcopy Index your code
hub / github.com/NetHack/NetHack / newexplevel

Function newexplevel

src/exper.c:299–304  ·  view source on GitHub ↗

* Make experience gaining similar to AD&D(tm), whereby you can at most go * up by one level at a time, extra expr possibly helping you along. * After all, how much real experience does one get shooting a wand of death * at a dragon created with a wand of polymorph?? */

Source from the content-addressed store, hash-verified

297 * at a dragon created with a wand of polymorph??
298 */
299void
300newexplevel(void)
301{
302 if (u.ulevel < MAXULEV && u.uexp >= newuexp(u.ulevel))
303 pluslvl(TRUE);
304}
305
306void
307pluslvl(

Callers 13

goto_levelFunction · 0.85
domove_swap_with_petFunction · 0.85
observe_quantum_catFunction · 0.85
fprefxFunction · 0.85
xkilledFunction · 0.85
see_monster_closeupFunction · 0.85
disarm_squeaky_boardFunction · 0.85
disarm_boxFunction · 0.85
untrapFunction · 0.85
bhitmFunction · 0.85
study_bookFunction · 0.85
doconsultFunction · 0.85

Calls 2

newuexpFunction · 0.85
pluslvlFunction · 0.85

Tested by

no test coverage detected