Commit b688c9c3 by BellCodeEditor

save project

parent 52899ce6
Showing with 15 additions and 2 deletions
...@@ -8,5 +8,17 @@ cxk=hyld('蔡徐坤',250,50) ...@@ -8,5 +8,17 @@ cxk=hyld('蔡徐坤',250,50)
xt=hyld('艾尔.普利莫',600,25) xt=hyld('艾尔.普利莫',600,25)
sq=hyld('瑟奇',280,16) sq=hyld('瑟奇',280,16)
xl=hyld('雪莉',300,30) xl=hyld('雪莉',300,30)
print('普利莫的血量:',600)
print('瑟奇的血量:',280) def xt_sj():
xt.dj=xt.dj+1
xt.xl=xt.xl+15
xt.gj=xt.gj+2
print('普利莫的初始血量为:',xt.xl)
print('普利莫吃了一个能量块')
xt_sj()
print('普利莫升级了 等级:',xt.dj)
print('普利莫吃了一个能量块')
xt_sj()
print('普利莫升级了 等级:',xt.dj)
print('二级普利莫的血量:',xt.xl)
\ 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