Commit 371ac4ba by BellCodeEditor

save project

parent ed7da9d8
Showing with 4 additions and 3 deletions
class Hero(object):
import random
class Hero(object):
def __init__(self, name):
self.name = name
self.level = 1
......@@ -47,5 +48,4 @@ print(" 战斗开始")
while True:
print("-"*30)
c=input("请选择释放玩家技能(1攻击/2治疗):")
\ 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