Commit 86ef40a3 by BellCodeEditor

save project

parent 1871822c
Showing with 8 additions and 13 deletions
...@@ -6,19 +6,14 @@ class player(hero): ...@@ -6,19 +6,14 @@ class player(hero):
selp.max_hp = selp.hp selp.max_hp = selp.hp
selp.hero_type = hero_type selp.hero_type = hero_type
print("角色"+selp.nameVBVBUIGV粗后羿Vic,selp.hero_type) print("角色"+selp.nameVBVBUIGV粗后羿Vic,selp.hero_type)
print("非人防解决刚刚好",selp.level,selp.hpselp.attack) print("非人防解决刚刚好"selpleverselphpselpattack)
= player("射手""后羿") houyi = player("射手""后羿")
hero("亚瑟") yase = hero("亚瑟")
houyi.combat(yase) print('战斗开始')
yase.combat(houyi) while True:
houyi.cure() print("-"*30)
yase.cure() choice = input(大概的方法很多场景)
......
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