Commit 9151edc2 by BellCodeEditor

save project

parent 6176055c
Showing with 10 additions and 8 deletions
......@@ -27,11 +27,13 @@ class Hero():
exit()
yase = Hero("垭瑟",300,20,1)
houyi = Hero("后羿",250,23,1)
print("垭瑟升级前攻击:",yase.attack)
print("垭瑟升级前血量:",yase.hp)
print("垭瑟升级前等级:",yase.level)
yase.Up_level(1)
# print("垭瑟升级前攻击:",yase.attack)
# print("垭瑟升级前血量:",yase.hp)
# print("垭瑟升级前等级:",yase.level)
# yase.Up_level(1)
# print("-"*50)
# print("垭瑟升级后攻击:",yase.attack)
# print("垭瑟升级后血量:",yase.hp)
# print("垭瑟升级后等级:",yase.level)
print("-"*50)
print("垭瑟升级后攻击:",yase.attack)
print("垭瑟升级后血量:",yase.hp)
print("垭瑟升级后等级:",yase.level)
\ No newline at end of file
yase.combat(houyi)
\ 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