Commit 1d5b098b by BellCodeEditor

save project

parent b8966e14
Showing with 2 additions and 2 deletions
......@@ -6,8 +6,8 @@ class Heor:
self.attack=attack
def deji(self):
self.level=self.level+1
self.hp=self.hp*1.25
self.attack=self.attack*1.05
self.hp=self.hp*1.2
self.attack=self.attack*1.1
yase=Heor('亚瑟',300,20)
yase.deji()
print('等级为',yase.level)
......
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