Commit 3d16649c by BellCodeEditor

save project

parent c2a950ba
Showing with 4 additions and 0 deletions
...@@ -28,6 +28,9 @@ class Hero: # 英雄类 ...@@ -28,6 +28,9 @@ class Hero: # 英雄类
enemy.hp=enemy.hp enemy.hp=enemy.hp
fang=0 fang=0
class player(Hero):
saisai=Hero("赛赛") saisai=Hero("赛赛")
wuhao=Hero("吴昊") wuhao=Hero("吴昊")
saisai.combat(wuhao,0) saisai.combat(wuhao,0)
\ 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