Commit d516392a by BellCodeEditor

auto save

parent 822d791f
Showing with 2 additions and 3 deletions
...@@ -27,6 +27,5 @@ class Player(Hero): # 玩家英雄 ...@@ -27,6 +27,5 @@ class Player(Hero): # 玩家英雄
super().__init__(self) super().__init__(self)
self.hp=200 self.hp=200
self.attack=50 self.attack=50
print('角色',self.name,'英雄类型为:') player = Player("后羿")
houyi = Player("后羿,射手") yase = 1
yase = Hero('亚瑟,战士')
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