示例#1
0
 def __init__(self):
     for x in range(int(4)):
         x = randint(1, len(Consumable['17th Level']))
         Con_treasure.append(Consumable['17th Level'][x])
         if x == 6:
             Spells.spell_roll()
     for x in range(int(2)):
         x = randint(1, len(Consumable['18th Level']))
         Con_treasure.append(Consumable['18th Level'][x])
示例#2
0
 def __init__(self):
     x = randint(1, len(Consumable['16th Level']))
     Con_treasure.append(Consumable['16th Level'][x])
     for x in range(2):
         x = randint(1, 2)
         if x == 1:
             x = randint(1, len(Consumable['16th Level']))
             Con_treasure.append(Consumable['16th Level'][x])
         else:
             x = randint(1, len(Consumable['17th Level']))
             Con_treasure.append(Consumable['17th Level'][x])
             if x == 6:
                 Spells.spell_roll()
示例#3
0
 def __init__(self):
     x = randint(1, len(Consumable['9th Level']))
     Con_treasure.append(Consumable['9th Level'][x])
     if x == 12:
         Spells.spell_roll()
     for x in range(2):
         x = randint(1, 2)
         if x == 1:
             for x in range(int(b)):
                 x = randint(1, len(Consumable['9th Level']))
                 Con_treasure.append(Consumable['9th Level'][x])
                 if x == 12:
                     Spells.spell_roll()
         else:
             for x in range(int(c)):
                 x = randint(1, len(Consumable['10th Level']))
                 Con_treasure.append(Consumable['10th Level'][x])
示例#4
0
 def __init__(self):
     x = randint(1, len(Consumable['1st Level']))
     Con_treasure.append(Consumable['1st Level'][x])
     if x == 23:
         Spells.spell_roll()
     x = randint(1, len(Consumable['2nd Level']))
     Con_treasure.append(Consumable['2nd Level'][x])
     if x == 17:
         Spells.spell_roll()
     x = randint(1, len(Consumable['3rd Level']))
     Con_treasure.append(Consumable['3rd Level'][x])
     if x == 17:
         Spells.spell_roll()
示例#5
0
 def __init__(self):
     for x in range(int(2)):
         x = randint(1, len(Consumable['4th Level']))
         Con_treasure.append(Consumable['4th Level'][x])
         if x == 7:
             Spells.spell_roll()
     for x in range(int(6)):
         x = randint(1, len(Consumable['5th Level']))
         Con_treasure.append(Consumable['5th Level'][x])
         if x == 17:
             Spells.spell_roll()
     for x in range(int(2)):
         x = randint(1, len(Consumable['6th Level']))
         Con_treasure.append(Consumable['6th Level'][x])
         if x == 10:
             Spells.spell_roll()
示例#6
0
 def __init__(self):
     for x in range(int(1)):
         x = randint(1, len(Consumable['2nd Level']))
         Con_treasure.append(Consumable['2nd Level'][x])
         if x == 17:
             Spells.spell_roll()
     for x in range(2):
         x = randint(1, 2)
         if x == 1:
             x = randint(1, len(Consumable['2nd Level']))
             Con_treasure.append(Consumable['2nd Level'][x])
             if x == 17:
                 Spells.spell_roll()
         else:
             x = randint(1, len(Consumable['3rd Level']))
             Con_treasure.append(Consumable['3rd Level'][x])
             if x == 17:
                 Spells.spell_roll()