Commit f514f9f3 by BellCodeEditor

auto save

parent bae43f4c
Showing with 3 additions and 0 deletions
import random
class Hero(object): class Hero(object):
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
...@@ -43,3 +45,4 @@ print(" 战斗开始") ...@@ -43,3 +45,4 @@ print(" 战斗开始")
print("-"*30) print("-"*30)
while True: while True:
input("请输入技能选项(1攻击/2治疗)") input("请输入技能选项(1攻击/2治疗)")
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