Commit bab5b95a by BellCodeEditor

save project

parent ae369b0f
Showing with 4 additions and 1 deletions
# 英雄角色类
class Sans(object):
class Sans:
def __init__(self,AT,HP,HUP,AUP,name):
self.Level = 1
self.HitPoint = HP
......@@ -32,6 +32,9 @@ class Sans(object):
Hero.Name+'的血量成长点'+str(Hero.HitPoint_UpPoint)+'\n'+
Hero.Name+'的攻击成长点'+str(Hero.Attack_UpPoint)+'\n')
class Sanses(Sans):
pass
Outer = Sans(30,50,20,20,'Outer!Sans')
Mudder = Sans(20,40,18,16,'Mudder!Sans')
Outer.combat(Mudder)
......
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