Commit ae5b29b3 by BellCodeEditor

save project

parent a12f5f9f
Showing with 4 additions and 2 deletions
...@@ -43,4 +43,6 @@ print(" 战斗开始") ...@@ -43,4 +43,6 @@ print(" 战斗开始")
print(a) print(a)
while True: while True:
jineng=input("攻击选择1,治疗选择2,投降请选择q :") jineng=input("攻击选择1,治疗选择2,投降请选择q :")
print(a) print(a)
\ No newline at end of file if jineng==q:
print(self.name+"Has been killed")
\ 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