1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-17 18:11:40 +01:00

Healers get more XP for healing pet

Up to 1/2 value instead of 1/10th value.
This commit is contained in:
chris 2022-03-18 17:17:13 -04:00
parent e94eb581c2
commit b1181ba282

View file

@ -441,7 +441,7 @@ struct obj *otmp;
}
if(mtmp->mtame && Role_if(PM_HEALER)){
int xp = (experience(mtmp, 0)/10) * delta / mtmp->mhpmax;
int xp = (experience(mtmp, 0)/2) * delta / mtmp->mhpmax;
if(wizard) pline("%d out of %d XP", xp, experience(mtmp, 0));
if(xp)
more_experienced(xp, 0);