Create familiar spell can create harder creatures
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user