Commit 914d2f76 by BellCodeEditor

save project

parent a4e3aa00
Showing with 17 additions and 1 deletions
...@@ -50,7 +50,22 @@ houyi = Player("射手", "后羿") ...@@ -50,7 +50,22 @@ houyi = Player("射手", "后羿")
yase = Hero("垭瑟") yase = Hero("垭瑟")
while True: while True:
print("-"*30) print("-"*30)
d=input("1/2") d=input("gj1/zl2")
if d=="q":
print("推了")
break
elif d=="1":
houyi.combat(yase)
elif d=="2":
houyi.cure()
else:
print("搓力")
continue
e=random.randint(1,2)
if e=="2":
yase.cure()
else:
yase.combat(houyi)
\ 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