Commit c9f049b9 by BellCodeEditor

auto save

parent 040ef07f
Showing with 5 additions and 2 deletions
import random
class Hero(object): class Hero(object):
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
...@@ -48,7 +49,8 @@ while True: ...@@ -48,7 +49,8 @@ while True:
houyi.combat(yase) houyi.combat(yase)
if a=='2': if a=='2':
houyi.cure() houyi.cure()
houyi.combat(yase) # b = random.randid
yase.combat(houyi) # houyi.combat(yase)
# yase.combat(houyi)
# houyi.cure() # houyi.cure()
# yase.cure() # yase.cure()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment