is the party level determined by the lowest character level, highest, average? would recruiting a level 1 NPC and then booting him mess up party level measurement? (that wizard apprentice in homlet, recruit it, kill something, have him scribe his spells, copy them to your own wizard's spellbook, boot him from the party... or keep him as a second wizard and have him and your own wizard trade spells for max ownage)
The criterion is "average party level" >5. The "average party level" is calculated as follows: Code: for obj in pc.group_list(): count = count + 1 level = level + obj.stat_level_get( stat_level ) avg = (level/count) + (count - 4)/2 (see utilities.py) Note: group_list() includes PCs, NPC followers and animal companions. Former members do not count. Animal companions are all level 0. Fractions are rounded down, even within calculations. E.g. suppose you have a party of 5 PCs of level 7 + one animal companion. The average level would be 6: count = 6 level = 5*7+0 = 35 avg = 35/6 + 2/2 = 5 + 1 = 6