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:
parent
e94eb581c2
commit
b1181ba282
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue