Blessed scroll of taming increases tameness of pets
This commit is contained in:
@@ -1484,6 +1484,7 @@ when hero who is poly'd into metallivore form eats a tin, bypass "smells like
|
||||
digging in ice was handled inconsistently, particularly if done at the span
|
||||
spot in front of closed drawbridge
|
||||
angry god may remove an intrinsic
|
||||
blessed scroll of taming increases tameness of already tame creatures
|
||||
|
||||
|
||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||
|
||||
@@ -1038,6 +1038,12 @@ maybe_tame(struct monst *mtmp, struct obj *sobj)
|
||||
not tame the target, so call it even if taming gets resisted */
|
||||
if (!resist(mtmp, sobj->oclass, 0, NOTELL) || mtmp->isshk)
|
||||
(void) tamedog(mtmp, (struct obj *) 0, FALSE);
|
||||
if (sobj->blessed && was_tame && mtmp->mtame) {
|
||||
int new_tame = min(10, ACURR(A_CHA) / 2);
|
||||
|
||||
if (mtmp->mtame < new_tame)
|
||||
mtmp->mtame = new_tame;
|
||||
}
|
||||
if ((!was_peaceful && mtmp->mpeaceful) || (!was_tame && mtmp->mtame))
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user