本文整理匯總了Python中magic.spell.CharEffectSpell.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python CharEffectSpell.__init__方法的具體用法?Python CharEffectSpell.__init__怎麽用?Python CharEffectSpell.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類magic.spell.CharEffectSpell
的用法示例。
在下文中一共展示了CharEffectSpell.__init__方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 2)
self.skill = NECROMANCY
self.requiredskill = 20
self.damageskill = SPIRITSPEAK
self.mana = 5
self.reagents = {REAGENT_PIGIRON: 1, REAGENT_GRAVEDUST: 1}
self.mantra = 'In Sar'
示例2: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 7)
self.skill = CHIVALRY
self.requiredskill = 0
self.damageskill = FOCUS
self.mana = 10
self.tithingpoints = 10
self.mantra = 'Obsu Vulni'
示例3: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 2)
self.reagents = {REAGENT_MANDRAKE: 1, REAGENT_NIGHTSHADE: 1}
self.mantra = 'Uus Mani'
示例4: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 1)
self.reagents = {REAGENT_GARLIC: 1, REAGENT_GINSENG: 1, REAGENT_SPIDERSILK: 1}
self.mantra = 'In Mani'
示例5: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 5)
self.reagents = {REAGENT_GARLIC: 1, REAGENT_MANDRAKE: 1, REAGENT_SPIDERSILK: 1}
self.mantra = 'An Ex Por'
self.harmful = 1
self.reflectable = 1
示例6: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 6)
self.reagents = {REAGENT_GARLIC: 1, REAGENT_MANDRAKE: 1, REAGENT_SULFURASH: 1}
self.mantra = 'An Ort'
self.harmful = 1
示例7: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 3)
self.reagents = {REAGENT_MANDRAKE: 1, REAGENT_GARLIC: 1}
self.mantra = 'Rel Sanct'
示例8: __init__
# 需要導入模塊: from magic.spell import CharEffectSpell [as 別名]
# 或者: from magic.spell.CharEffectSpell import __init__ [as 別名]
def __init__(self):
CharEffectSpell.__init__(self, 4)
self.reagents = {REAGENT_NIGHTSHADE: 1, REAGENT_GARLIC: 1, REAGENT_SULFURASH: 1}
self.mantra = 'Des Sanct'
self.harmful = 1
self.reflectable = 1