Skip to content

Commit

Permalink
Sear damage applies when thrown items return to hand (ie: aklys, boom…
Browse files Browse the repository at this point in the history
…erang/chakram, Mjollnir.
  • Loading branch information
elunna committed Nov 1, 2023
1 parent 2b83c4d commit c2203d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dothrow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,6 +1560,7 @@ struct obj *oldslot; /* for thrown-and-return used with !fixinv */
if (mon == &youmonst) { /* the thing was caught */
exercise(A_DEX, TRUE);
obj = return_throw_to_inv(obj, wep_mask, twoweap, oldslot);
retouch_object(&obj, !uarmg, FALSE);
clear_thrownobj = TRUE;
goto throwit_return;
}
Expand Down
5 changes: 4 additions & 1 deletion src/zap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4880,8 +4880,11 @@ int dx, dy;
break;
} else { /* we catch it */
tmp_at(DISP_END, 0);
if (m_shot.i == m_shot.n)
if (m_shot.i == m_shot.n) {
You("skillfully catch the %s.", obj->otyp == BOOMERANG ? "boomerang" : "chakram");
retouch_object(&obj, !uarmg, FALSE);
}

return &youmonst;
}
}
Expand Down

0 comments on commit c2203d8

Please sign in to comment.