Commit 65b0c34f by BellCodeEditor

save project

parent fe1f240a
Showing with 3 additions and 2 deletions
class Hero: class Hero:
def __init__(self,name,hp,attack): def __init__(self,name,hp,attack):
self.name=name
self.level=1 self.level=1
self.hp=300 self.hp=hp
self.attast=20 self.attack=attack
bailishoyue=Hero("百里守约",50,9999) bailishoyue=Hero("百里守约",50,9999)
yase=Hero("亚瑟",50,999) yase=Hero("亚瑟",50,999)
liushan=Hero("刘禅",50,999) liushan=Hero("刘禅",50,999)
......
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