Commit 2273165e by BellCodeEditor

save project

parent e086af85
Showing with 0 additions and 15 deletions
This source diff could not be displayed because it is too large. You can view the blob instead.
class Hero:
def __init__(self,name,HP,attack,profession):
self.level=1
self.name=name
self.HP=HP
self.attack=attack
self.profession=profession
yase=Hero("亚瑟",300,20,"战士")
houyi=Hero("后羿",240,23,"射手")
libai=Hero("李白",250,50,"刺客")
zhugeliang=Hero("诸葛亮",210,70,"法师")
yao=Hero("瑶",270,15,"辅助")
def upgrade():
\ 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