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

Function nemesis_stinks

src/quest.c:425–438  ·  view source on GitHub ↗

create cloud of stinking gas around dying nemesis */

Source from the content-addressed store, hash-verified

423
424/* create cloud of stinking gas around dying nemesis */
425void
426nemesis_stinks(coordxy mx, coordxy my)
427{
428 boolean save_mon_moving = svc.context.mon_moving;
429
430 /*
431 * Some nemeses (determined by caller) release a cloud of noxious
432 * gas when they die. Don't make the hero be responsible for such
433 * a cloud even if hero has just killed nemesis.
434 */
435 svc.context.mon_moving = TRUE;
436 create_gas_cloud(mx, my, 5, 8);
437 svc.context.mon_moving = save_mon_moving;
438}
439
440staticfn void
441chat_with_guardian(void)

Callers 1

m_detachFunction · 0.85

Calls 1

create_gas_cloudFunction · 0.85

Tested by

no test coverage detected