Commit 43ebdf00 by BellCodeEditor

save project

parent c5b64b75
Showing with 7 additions and 0 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
...@@ -58,3 +59,8 @@ while True: ...@@ -58,3 +59,8 @@ while True:
if i>5: if i>5:
print('PLEASE READ CAREFULLY') print('PLEASE READ CAREFULLY')
continue continue
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