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

Function give_may_advance_msg

src/weapon.c:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75staticfn void
76give_may_advance_msg(int skill)
77{
78 You_feel("more confident in your %sskills.",
79 (skill == P_NONE) ? ""
80 : (skill <= P_LAST_WEAPON) ? "weapon "
81 : (skill <= P_LAST_SPELL) ? "spell casting "
82 : "fighting ");
83 (void) handle_tip(TIP_ENHANCE);
84}
85
86/* weapon's skill category name for use as generalized description of weapon;
87 mostly used to shorten "you drop your <weapon>" messages when slippery

Callers 2

use_skillFunction · 0.85
add_weapon_skillFunction · 0.85

Calls 2

You_feelFunction · 0.85
handle_tipFunction · 0.85

Tested by

no test coverage detected