tracking peak maximum HP and energy
Keep track of the highest value that u.uhpmax and u.uenmax have attained, in new u.uhppeak and u.uenpeak. They aren't used for anything yet. u.mhmax (max HP while polymorphed) isn't interesting enough to track. Not save and bones compatible so increments EDITLEVEL.
This commit is contained in:
@@ -1953,6 +1953,8 @@ doseduce(struct monst *mon)
|
||||
You_feel("raised to your full potential.");
|
||||
exercise(A_CON, TRUE);
|
||||
u.uen = (u.uenmax += rnd(5));
|
||||
if (u.uenmax > u.uenpeak)
|
||||
u.uenpeak = u.uenmax;
|
||||
break;
|
||||
case 1:
|
||||
You_feel("good enough to do it again.");
|
||||
|
||||
Reference in New Issue
Block a user