Commit 9bebd03f by BellCodeEditor

save project

parent 22354288
Showing with 27 additions and 0 deletions
Haros = {'垭瑟':330 200 20,'后裔':300 130 27,'李百':250 140 26,'太乙真仁':340 160 26}
VIPSHaros = {'垭瑟':660 400 50,'后裔':600 260 27,'李百':500 280 52}
VIP = 23413
class Haro:
def __init__(self,name,hp,attack,fy):
self.name = name
self.hp = hp
self.attack = attack
self.fy = fy
def zj(names):
self.names.hp += 50
self.names.attack += 2
self.names.fy += 10
while True:
mm = input('A.VIP玩家 B.普通玩家')
if mm = A:
mm = input('请输入密码')
start(VIPSHaros)
elif mm = b:
mm = input('请输入密码')
start(Haros)
else:
print('输入错误!')
def start(a):
print(a)
playerharo = input('输入玩家1的英雄')
\ 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