Skip to content

Commit

Permalink
Removed the uspirits counter for spirits. This ended up not really be…
Browse files Browse the repository at this point in the history
…ing used for the necromancer.
  • Loading branch information
elunna committed Oct 17, 2023
1 parent 8dc6d32 commit 72c0925
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion include/you.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ struct you {
uchar uspmtime; /* #moves between uspellprot-- */
int uhp, uhpmax; /* hit points, aka health */
int uen, uenmax; /* magical energy - M. Stephenson */
int uspirits; /* contained spirits (for Necromancer) */
xchar uhpinc[MAXULEV], /* increases to uhpmax for each level gain */
ueninc[MAXULEV]; /* increases to uenmax for each level gain */
int ugangr; /* if the gods are angry at you */
Expand Down
5 changes: 0 additions & 5 deletions src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3770,11 +3770,6 @@ int final;
else if (wizard)
enl_msg("Your health bonus ", "is", "was", " zero");
#endif

if (Role_if(PM_NECROMANCER)) {
Sprintf(buf, "harvested %d %s", u.uspirits, u.uspirits != 1 ? "spirits" : "spirit");
you_have(buf, "");
}

#ifdef DEBUG
/* named fruit debugging (doesn't really belong here...); to enable,
Expand Down
1 change: 0 additions & 1 deletion src/pickup.c
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,6 @@ struct obj *obj;
} else if (is_you) {
if (flags.verbose)
You("collect the spirit%s.", obj->quan > 1 ? "s" : "");
u.uspirits += obj->quan;
bonus = spiritlev * obj->quan;

if (carrying_arti(ART_GREAT_DAGGER_OF_GLAURGNAA))
Expand Down

0 comments on commit 72c0925

Please sign in to comment.