Commit 7efb47de by BellCodeEditor

save project

parent 329934c3
Showing with 2 additions and 1 deletions
......@@ -11,6 +11,7 @@ class Hero:
yase=Hero(200,"亚瑟",40)
yase.updata()
print(yase.hp)
def combat(selp,enemy)
enemy.hp-=selp.attack
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