annotate orpg/dieroller/rollers/earthdawn.py @ 36:d02e9197c066 ornery-orc

Traipse 'OpenRPG' {101220-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Closed) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order New to Server GUI, can now clear log New Earthdawn Dieroller New IronClaw roller, sheet, and image New ShapeShifter PC Sheet Updates: Update to Warhammer PC Sheet. Rollers set as macros. Should work with little maintanence. Update to Browser Server window. Display rooms with ' " & cleaner Update to Server. Handles ' " & cleaner Update to Dieroller. Cleaner, more effecient expression system Update to Hidden Die plugin, allows for non standard dice rolls Update to location.py, allows for more portable references when starting Traipse Update to the Features node Fixes: Fix to InterParse that was causing an Infernal Loop with Namespace Internal Fix to XML data, removed old Minidom and switched to Element Tree Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread Fix to Server, removing wxPython dependencies where not needed Fix to metaservers.xml file not being created Fix to Single and Double quotes in Whiteboard text Fix to Background images not showing when using the Image Server Fix to Duplicate chat names appearing Fix to Server GUI's logging output Fix to FNB.COLORFUL_TABS bug Fix to Gametree for XSLT Sheets Fix to Gametree for locating gametree files Fix to Send to Chat from Gametree Fix to Gametree, renaming and remapping operates correctly Fix to aliaslib, prevents error caused when SafeHTML is sent None
author sirebral
date Sun, 19 Dec 2010 22:44:36 -0600
parents
children
rev   line source
36
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
1 ## A die roller as used by Earthdawn RPG
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
2 # Copyright (C) 2000-2010 The OpenRPG Project
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
3 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
4 # owner@madmathlabs.com
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
5 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
6 # This program is free software; you can redistribute it and/or modify
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
7 # it under the terms of the GNU General Public License as published by
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
8 # the Free Software Foundation; either version 2 of the License, or
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
9 # (at your option) any later version.
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
10 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
11 # This program is distributed in the hope that it will be useful,
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
14 # GNU General Public License for more details.
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
15 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
16 # You should have received a copy of the GNU General Public License
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
17 # along with this program; if not, write to the Free Software
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
19 # --
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
20 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
21 # File: earthdawn.py
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
22 # Author: Prof. Ebral, TaS (Traipse)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
23 # Maintainer:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
24 # Version:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
25 # $Id: earthdawn.py,v Traipse 'Ornery-Orc' prof.ebral Exp $
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
26 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
27 # Description: Earthdawn Die Roller
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
28 # Comissioned by Jacob H.
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
29 #
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
30
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
31
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
32 from std import std
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
33 import random
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
34 from orpg.dieroller.base import *
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
35
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
36 class earthdawn(std):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
37 name = "earthdawn"
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
38 regExpression = "[a-zA-Z]+([0-9]+/[0-9]+|[0-9]+)"
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
39
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
40 def __init__(self, source=[]):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
41 std.__init__(self, source)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
42 self.successLevels = self.buildLevels()
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
43
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
44 def non_stdDie(self, match):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
45 s = match.group(0)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
46 if s[:4] == 'step' or s[:1] == 's':
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
47 dice = s.lower().split('step')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
48 rollType = 'Step'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
49 if len(dice) == 1: dice = s.lower().split('s')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
50 try: step, vs = dice[1].split('/')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
51 except: step, vs = dice[1], 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
52 stepRoll = self.stepAlgorithm(step)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
53 elif s[:5] == 'karma' or s[:1] == 'k':
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
54 dice = s.lower().split('karma')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
55 rollType = 'Karma'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
56 if len(dice) == 1: dice = s.lower().split('k')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
57 step, vs = dice[1], 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
58 stepRoll = self.stepAlgorithm(step)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
59 elif s[:4] == 'test' or s[:1] == 't':
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
60 dice = s.lower().split('test')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
61 rollType = 'Test'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
62 if len(dice) == 1: dice = s.lower().split('t')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
63 try: step, vs = dice[1].split('/')
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
64 except: return
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
65 return self.successTest(step, vs)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
66 return self.finalize(step, stepRoll, vs, rollType)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
67
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
68 def rollDice(self, dice, facets):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
69 rolls = []
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
70 for x in range(0, dice):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
71 roll = self.roll(facets)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
72 while roll >= facets:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
73 rolls.append(roll)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
74 roll = self.roll(facets)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
75 rolls.append(roll)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
76 return rolls
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
77
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
78 def roll(self, facets):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
79 return int(random.uniform(1, facets+1))
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
80
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
81 def stepAlgorithm(self, stepRoll):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
82 if stepRoll == 0: return 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
83 oneTothree = {'1': -3, '2': -2, '3': -1}
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
84 if oneTothree.has_key(stepRoll):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
85 dieList = self.rollDice(1, 6)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
86 dieList[0] += oneTothree[stepRoll]
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
87 return dieList
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
88 stepRoll = int(stepRoll)-3; self.dieList = []
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
89 for step in xrange(0, stepRoll): self.stepIncrease()
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
90 d6s = 0; d8s = 0; d10s = 0; d12s = 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
91 dieList = []
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
92 for die in self.dieList:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
93 if die == 6: d6s += 1
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
94 if die == 8: d8s += 1
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
95 if die == 10: d10s += 1
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
96 if die == 12: d12s += 1
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
97 if d6s!= 0: d6s = self.rollDice(d6s, 6); dieList += d6s
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
98 if d8s!= 0: d8s = self.rollDice(d8s, 8); dieList += d8s
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
99 if d10s!= 0: d10s = self.rollDice(d10s, 10); dieList += d10s
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
100 if d12s!= 0: d12s = self.rollDice(d12s, 12); dieList += d12s
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
101 return dieList
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
102
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
103 def stepIncrease(self):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
104 lowDie = 12
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
105 if len(self.dieList) == 0: self.dieList.append(6); return
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
106 for splitDie in self.dieList:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
107 if splitDie < lowDie: lowDie = splitDie
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
108 if lowDie == 12: self.dieList[self.dieList.index(lowDie)] = 6; self.dieList.append(6); return
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
109 else: self.dieList[self.dieList.index(lowDie)] += 2; return
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
110
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
111 def successLevel(self, level, vs):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
112 index = 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
113 successLevels = self.successLevels[int(vs)]
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
114 for success in successLevels:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
115 if level > success: index = successLevels.index(success)+1
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
116 elif level == success: index = successLevels.index(success)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
117 if index == 0: return 'Pathetic'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
118 if index == 1: return 'Poor'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
119 if index == 2: return 'Average'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
120 if index == 3: return 'Good'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
121 if index == 4: return 'Excellent'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
122 if index >= 5: return 'Extraordinary'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
123
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
124 def successTest(self, stepTotal, vs):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
125 myStr = '<b>Success Test: </b> ' +stepTotal+ ' vs. ' +vs
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
126 successLevel = self.successLevel(int(stepTotal), int(vs))
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
127 myStr += '= ' +successLevel
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
128 return myStr
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
129
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
130 def finalize(self, step, stepRoll, vs, rollType):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
131 myStr = '<b>' +rollType+' Roll: </b>' +step
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
132 if vs != 0: myStr += ' vs. ' +vs
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
133 myStr += ' => ' +str(stepRoll)+ ' (Total: '
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
134 stepTotal = 0
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
135 for step in stepRoll: stepTotal += step
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
136 myStr += str(stepTotal)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
137 if vs != 0:
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
138 myStr += ' vs. ' +str(vs)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
139 successLevel = self.successLevel(stepTotal, vs)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
140 myStr += ') ' +successLevel
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
141 else: myStr += ')'
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
142 return myStr
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
143
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
144 def buildLevels(self):
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
145 successLevels = {
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
146 2: [0, 1, 4, 6, 8, 9], 3: [0, 2, 5, 7, 9, 10], 4: [0, 3, 6, 9, 11, 12],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
147 5: [1, 4, 7, 10, 13, 14], 6: [1, 5, 8, 12, 16, 17], 7: [2, 6, 10, 14, 18, 19],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
148 8: [3, 7, 12, 15, 19, 20], 9: [4, 8, 14, 17, 21, 22], 10: [5, 9, 15, 19, 22, 23],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
149 11: [5, 10, 16, 20, 24, 25], 12: [6, 11, 17, 22, 26, 27], 13: [6, 12, 19, 24, 28, 29],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
150 14: [7, 13, 20, 25, 30, 31], 15: [8, 14, 22, 26, 30, 31], 16: [9, 15, 23, 27, 32, 33],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
151 17: [10, 16, 24, 29, 33, 34], 18: [11, 17, 25, 30, 35, 36], 19: [11, 18, 27, 32, 36, 37],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
152 20: [12, 19, 28, 33, 38, 39], 21: [13, 20, 29, 35, 40, 41], 22: [14, 21, 30, 36, 41, 42],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
153 23: [15, 22, 32, 37, 42, 43], 24: [15, 23, 33, 38, 43, 44], 25: [16, 24, 34, 40, 45, 46],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
154 26: [17, 25, 35, 41, 46, 47], 27: [18, 26, 36, 42, 48, 49], 28: [18, 27, 38, 44, 49, 50],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
155 29: [20, 28, 39, 45, 50, 51], 30: [20, 29, 40, 46, 52, 53], 31: [21, 30, 41, 47, 53, 54],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
156 32: [22, 31, 42, 48, 54, 55], 33: [23, 32, 44, 50, 56, 57], 34: [23, 33, 45, 51, 57, 58],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
157 35: [24, 34, 46, 52, 59, 60], 36: [25, 35, 47, 53, 59, 60], 37: [26, 36, 48, 55, 61, 62],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
158 38: [27, 37, 50, 56, 62, 63], 39: [28, 38, 51, 57, 63, 64], 40: [29, 39, 52, 58, 65, 66],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
159 41: [28, 40, 52, 60, 70, 71], 42: [29, 41, 53, 61, 71, 72], 43: [30, 42, 54, 63, 72, 73],
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
160 44: [31, 43, 55, 64, 74, 75], 45: [31, 44, 57, 66, 76, 77]
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
161 }
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
162 return successLevels
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
163
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
164 die_rollers.register(earthdawn)
d02e9197c066 Traipse 'OpenRPG' {101220-00}
sirebral
parents:
diff changeset
165