Sick of Assassins

Discussion in 'The Temple of Elemental Evil' started by UncleBuck, Feb 2, 2010.

Remove all ads!
  1. Flak88

    Flak88 Member

    Joined:
    Dec 27, 2007
    Messages:
    96
    Likes Received:
    0
    Got it to work! It was just a matter of random encounter. Took about 8 tries. Thanks.
     
  2. taltamir

    taltamir Established Member

    Joined:
    May 16, 2004
    Messages:
    741
    Likes Received:
    1
    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)
     
  3. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,621
    Likes Received:
    538
    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
     
    Last edited: Mar 27, 2010
Our Host!