Commit 43ebdf00 by BellCodeEditor

save project

parent c5b64b75
Showing with 8 additions and 2 deletions
...@@ -41,6 +41,7 @@ yase = Hero("垭瑟") ...@@ -41,6 +41,7 @@ yase = Hero("垭瑟")
print('*'*30) print('*'*30)
print(" 战斗开始") print(" 战斗开始")
i=0 i=0
import random
while True: while True:
print('*'*30) print('*'*30)
i=i+1 i=i+1
...@@ -57,4 +58,9 @@ while True: ...@@ -57,4 +58,9 @@ while True:
print("Error,please try it again") print("Error,please try it again")
if i>5: if i>5:
print('PLEASE READ CAREFULLY') print('PLEASE READ CAREFULLY')
continue continue
\ No newline at end of file num=random.randint(1,3)
if num=1:
yase.combat(houyi)
else:
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