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

View File

@@ -124,7 +124,10 @@ pick_familiar_pm(struct obj *otmp, boolean quietly)
} else if (!rn2(3)) {
pm = &mons[pet_type()];
} else {
pm = rndmonst();
int skill = spell_skilltype(SPE_CREATE_FAMILIAR);
int max = 3 * P_SKILL(skill);
pm = rndmonst_adj(0, max);
if (!pm && !quietly)
There("seems to be nothing available for a familiar.");
}