Changeset 312
- Timestamp:
- 05/30/08 22:34:42 (4 years ago)
- Files:
-
- 1 modified
-
hodgestar/PythonCode/DmTools/l5rchars.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hodgestar/PythonCode/DmTools/l5rchars.py
r263 r312 179 179 180 180 def calculate_rank(self): 181 pass 181 insight = self.insight 182 rank = min((max(0, insight - 125) // 25) + 1, 8) 183 return rank 182 184 183 185 rank = property(fget=calculate_rank) … … 200 202 print " -", ", ".join(["%s: %d" % (section, xp) for section, xp in oC.xp_breakdown]) 201 203 print " Insight:", oC.insight 204 print " Rank:", oC.rank 202 205 203 206 def main(aArgs):
