本文整理匯總了Python中System.healerspecial方法的典型用法代碼示例。如果您正苦於以下問題:Python System.healerspecial方法的具體用法?Python System.healerspecial怎麽用?Python System.healerspecial使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類System
的用法示例。
在下文中一共展示了System.healerspecial方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1:
# 需要導入模塊: import System [as 別名]
# 或者: from System import healerspecial [as 別名]
monsters.alliedhealing(cmonster, cmlist)
elif which == 2:
monsters.steallife(myguy, cmlist[i])
myguy.temphealth = temphealth
if (m1.type == 4) or (m1.type == 7):
monsters.rapidregen(m1)
if xp >= 15:
print "LEVEL UP!!!!!!!!!!!!!!!!!!!!!!!!!"
myguy = classes.levelup(myguy)
xp -= 15
if myguy.temphealth <= 0:
if (choice != 2):
break
if choice == 2:
if myguy.lives != 0:
myguy = System.healerspecial(myguy, healthholder)
if myguy.temphealth > myguy.health:
myguy.temphealth = myguy.health
if myguy.temphealth <= 0:
text.dead()
elif gk1.temphealth <= 0:
text.conclusion()