本文整理汇总了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