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

Function glow_verb

src/artifact.c:2450–2462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2448}
2449
2450const char *
2451glow_verb(int count, /* 0 means blind rather than no applicable creatures */
2452 boolean ingsfx)
2453{
2454 static char resbuf[20];
2455
2456 Strcpy(resbuf, glow_verbs[glow_strength(count)]);
2457 /* ing_suffix() will double the last consonant for all the words
2458 we're using and none of them should have that, so bypass it */
2459 if (ingsfx)
2460 Strcat(resbuf, "ing");
2461 return resbuf;
2462}
2463
2464/* use for warning "glow" for Sting, Orcrist, and Grimtooth */
2465void

Callers 2

doname_baseFunction · 0.85
Sting_effectsFunction · 0.85

Calls 1

glow_strengthFunction · 0.85

Tested by

no test coverage detected