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

Function broken_wand_explode

src/apply.c:3887–3893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3885}
3886
3887staticfn void
3888broken_wand_explode(struct obj *obj, int dmg, int expltype)
3889{
3890 explode(u.ux, u.uy, -(obj->otyp), dmg, WAND_CLASS, expltype);
3891 makeknown(obj->otyp); /* explode describes the effect */
3892 discard_broken_wand();
3893}
3894
3895/* if x,y has lava or water, dunk any boulders at that location into it */
3896void

Callers 1

do_break_wandFunction · 0.85

Calls 2

explodeFunction · 0.85
discard_broken_wandFunction · 0.85

Tested by

no test coverage detected