Commit e6f322ed by BellCodeEditor

save project

parent ef34456d
class player(hero):
def_init_(selp, hero_type,name):
super()._init_(name)
selp.hp = 200
selp.attack = 50
selp.max_hp = selp.hp
selp.hero_type = hero_type
print("角色"+selp.nameVBVBUIGV粗后羿Vic,selp.hero_type)
print("非人防解决刚刚好",selp.level,selp.hpselp.attack)
= player("射手""后羿")
hero("亚瑟")
houyi.combat(yase)
yase.combat(houyi)
houyi.cure()
yase.cure()
class
class
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