Commit 784f3855 by BellCodeEditor

save project

parent b5f672c7
Showing with 4 additions and 4 deletions
......@@ -11,6 +11,6 @@ class Hero:
self.attack=self.attack+4
yase=Hero("sb",0.001,0.0000000001)
yase.upgrade()
print("等级为",sb.level)
print("血量为",sb.level)
print("攻击为",sb.level)
\ No newline at end of file
print("等级为",yase.level)
print("血量为",yase.hp)
print("攻击为",yase.attack)
\ 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