Commit 4a2f1e57 by BellCodeEditor

save project

parent 87f9bf72
Showing with 17 additions and 9 deletions
class "钟离":
def__int__(s,"血量","攻击","防御","暴击率","暴击伤害"):
s."血量"=54000
s."攻击"=1000
s."防御"=900
s."暴击率"=30
s."暴击伤害"=100
"甘雨"=s(,,,,)
class "角色":
def__int__(self,"等级","名字","血量","攻击","防御","暴击率","暴击伤害"):
self."等级"="等级"
self."血量"="血量"
self,."攻击"="攻击"
self,."防御"="防御"
self,."暴击率"="暴击率"
self,."暴击伤害"="暴击伤害"
"甘雨"=s(1,ganyu,15000,2500,800,30,200)
print("暴击伤害为:","甘雨","暴击伤害")
# def q():
# self,."血量"=
# self."攻击"+50
# self."防御"+100
# self."暴击率"+0
# self."暴击伤害"+10
......
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