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

Function u_slow_down

src/mhitu.c:162–171  ·  view source on GitHub ↗

called when your intrinsic speed is taken away */

Source from the content-addressed store, hash-verified

160
161/* called when your intrinsic speed is taken away */
162void
163u_slow_down(void)
164{
165 HFast = 0L;
166 if (!Fast)
167 You("slow down.");
168 else /* speed boots */
169 Your("quickness feels less natural.");
170 exercise(A_DEX, FALSE);
171}
172
173/* monster attacked wrong location due to monster blindness, hero
174 invisibility, hero displacement, or hero being underwater */

Callers 3

mhitm_ad_slowFunction · 0.85
zapyourselfFunction · 0.85
gazemuFunction · 0.85

Calls 3

YouFunction · 0.85
YourFunction · 0.85
exerciseFunction · 0.85

Tested by

no test coverage detected