Create familiar spell can create harder creatures

This commit is contained in:
Pasi Kallinen
2025-07-11 13:04:25 +03:00
parent 6c22e7af45
commit 8570421449
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -1520,6 +1520,7 @@ the engraving pristine text field was not being appropriately populated during
worn alchemy smock reduces chances of dipped potions exploding worn alchemy smock reduces chances of dipped potions exploding
dwarves can sense buried items under their feet dwarves can sense buried items under their feet
monsters trapped in pits cannot kick monsters trapped in pits cannot kick
create familiar spell can create harder creatures
Fixes to 3.7.0-x General Problems Exposed Via git Repository Fixes to 3.7.0-x General Problems Exposed Via git Repository
+4 -1
View File
@@ -124,7 +124,10 @@ pick_familiar_pm(struct obj *otmp, boolean quietly)
} else if (!rn2(3)) { } else if (!rn2(3)) {
pm = &mons[pet_type()]; pm = &mons[pet_type()];
} else { } else {
pm = rndmonst(); int skill = spell_skilltype(SPE_CREATE_FAMILIAR);
int max = 3 * P_SKILL(skill);
pm = rndmonst_adj(0, max);
if (!pm && !quietly) if (!pm && !quietly)
There("seems to be nothing available for a familiar."); There("seems to be nothing available for a familiar.");
} }