Template talk:Adventure: Difference between revisions

a useful addition
(template for the template)
 
(a useful addition)
 
Line 13: Line 13:
# chance for loot as ritualist (loot * 2)
# chance for loot as ritualist (loot * 2)
# trivia
# trivia
number 5 to 12 can be generated with this python script:
  <nowiki>def g(num: int):
    gold1 = 20*num
    gold2 = 60*num
    xp1 = 250*num
    xp2 = 500*num
    loot = 5 if num == 1 else 5 + 1.5 * num
    if loot % 1 == 0:
        loot = int(loot)
    item1 = num
    item2 = 5 + int(num*1.5)
    mn = [gold1,gold2,xp1,xp2,item1,item2,loot,int(loot*2)]
    return "|".join([str(x) for x in mn])
g(1)</nowiki>
108

edits