Skip to content

Commit

Permalink
Cartomancers also get penalized for cloning (forging) cards.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Nov 17, 2023
1 parent 580c666 commit 2673895
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -4105,7 +4105,15 @@ struct obj **sobjp;
otmp2->quan = 1;

/* Weight could change due to material/type */
otmp2->owt = weight(otmp2);
otmp2->owt = weight(otmp2);

/* cartomancers feel guilty for counterfeiting */
if (Role_if(PM_CARTOMANCER) && otmp2->oclass == SCROLL_CLASS) {
You("feel incredibly guilty about forging a card!");
adjalign(-10);
if (u.uevent.qcompleted)
call_kops((struct monst *) 0, FALSE);
}

obj_extract_self(otmp2);
(void) hold_another_object(otmp2, "Whoops! %s out of your grasp.",
Expand Down

0 comments on commit 2673895

Please sign in to comment.