Commits

Arne Babenhauserheide  committed f30082a

A bit more 'you did great' output if at least 9 battles were won and the cahracter los afterwards.

  • Participants
  • Parent commits 5e857ef

Comments (0)

Files changed (2)

         char.upgrade(10-char.exp)
         
         @param exp: The new experience value.
-        @type exp: float or int."""
+        @type exp: float or int.
+        """
         if exp > self.exp: 
             self.upgrade(exp - self.exp)
             return self.exp

File ministory.py

 
 story(char1.name + " reached " + str(char1.exp) + " points of experience during these battles.")
 
-if char1.exp > 13: 
-    story("""Which means you won at least 9 concurrent battles! Congratulations!""")
+if char1.exp >= 13: 
+    story("""
+which means you won at least 9 concurrent battles! Congratulations!""")
+    if not won: 
+        story("You can be sure that you'll get a place in the ranks of the best fighters of this place.")
 
 save([char1, char2])