Commit d3d04f6d by BellCodeEditor

save project

parent 34a5535b
Showing with 3 additions and 2 deletions
......@@ -20,8 +20,8 @@ class player(hero):
self.hp=200
self.attack=70
Player = player("后羿")
print("玩家攻击力为",player.attack)
print("玩家血量为",player.hy)
print("玩家攻击力为",Player.attack)
print("玩家血量为",Player.hp)
#ys=hero("亚瑟")
#hy=hero("后羿")
#ys.combat(hy)
\ 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