diff orpg/dieroller/wod.py @ 71:449a8900f9ac ornery-dev

Code refining almost completed, for this round. Some included files are still in need of some clean up, but this is test worthy.
author sirebral
date Thu, 20 Aug 2009 03:00:39 -0500
parents 4385a7d0efd1
children bf799efe7a8a
line wrap: on
line diff
--- a/orpg/dieroller/wod.py	Tue Aug 18 20:48:36 2009 -0500
+++ b/orpg/dieroller/wod.py	Thu Aug 20 03:00:39 2009 -0500
@@ -36,19 +36,23 @@
 
 
 class wod(std):
+    
     def __init__(self,source=[],target=0,targetthr=0):
         std.__init__(self,source)
         self.target = target
         self.targetthr = targetthr
 
+    
     def vs(self,target):
         self.target = target
         return self
 
+    
     def thr(self,targetthr):
         self.targetthr = targetthr
         return self
 
+    
     def sum(self):
         rolls = []
         s = 0
@@ -70,6 +74,7 @@
                 s = 0
         return s
 
+    
     def __str__(self):
         if len(self.data) > 0:
             myStr = "[" + str(self.data[0])