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

Function unchanger

src/do_wear.c:2686–2692  ·  view source on GitHub ↗

also for praying; find worn item that confers "Unchanging" attribute */

Source from the content-addressed store, hash-verified

2684
2685/* also for praying; find worn item that confers "Unchanging" attribute */
2686struct obj *
2687unchanger(void)
2688{
2689 if (uamul && uamul->otyp == AMULET_OF_UNCHANGING)
2690 return uamul;
2691 return 0;
2692}
2693
2694staticfn
2695int

Callers 2

in_troubleFunction · 0.85
fix_worst_troubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected