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

Function check_gear_next_turn

src/mon.c:5914–5918  ·  view source on GitHub ↗

setting misc_worn_check's I_SPECIAL bit flags a monster to reassess and potentially re-equip gear at the start of its next move; this hides the details of that */

Source from the content-addressed store, hash-verified

5912 and potentially re-equip gear at the start of its next move;
5913 this hides the details of that */
5914void
5915check_gear_next_turn(struct monst *mon)
5916{
5917 mon->misc_worn_check |= I_SPECIAL;
5918}
5919
5920/* make erinyes more dangerous based on your alignment abuse */
5921void

Callers 6

extract_from_minventFunction · 0.85
dog_inventFunction · 0.85
mpickstuffFunction · 0.85
lifesaved_monsterFunction · 0.85
newchamFunction · 0.85
bhitmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected