Commits

Anonymous committed b159e9f

checkalive() is at +3 per wound and +6 per critical wound.

  • Participants
  • Parent commits 880f32f
  • Branches hexbattle

Comments (0)

Files changed (1)

         To see if a char is still active, we first look, if its TP are <= 0. 
         If they are we do one check against 12, to see if its still active. 
         
-        After that we only do one check each time the TP fall to one (further) critical wound value below zero. 
+        After that we only do one check each time the TP fall to one (further) critical wound value below zero.
+        
+        The check is at +3 per wound and +6 per critical wound.
         
         If the TP fall below (or to) 4 critical wound values below 0, the char is definitely dead. 
         
         TODO: Automatically use the correct base_att, for example constitution, or some alias inside the battle_values of the char. 
         
-        TODO: Switch to checking once per wound, getting harder per wound.
-        
         '''
         
         # If no base att is given, we use the morale. 
 		if self.number_of_ko_checks == 0:
 	                self.active = check(value, MW=12)
 		else: 
-                	self.active = check(value, MW=(12 + 3*(self.number_of_ko_checks)))
+                	self.active = check(value, MW=(12 
+                                                       + 3*(self.number_of_ko_checks)
+                                                       + 3*self.wounds[0]
+                                                       + 6*self.wounds[1]))
 			# these are deadly if missed.
 			if not self.active:
 				self.die()