本文整理汇总了Python中magic.spell.Spell.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Spell.__init__方法的具体用法?Python Spell.__init__怎么用?Python Spell.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类magic.spell.Spell
的用法示例。
在下文中一共展示了Spell.__init__方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 1)
self.skill = NECROMANCY
self.damageskill = SPIRITSPEAK
self.mana = 0
self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_NOXCRYSTAL: 1, REAGENT_PIGIRON: 1}
self.mantra = 'Kal Vas An Flam'
示例2: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 0)
self.skill = CHIVALRY
self.damageskill = FOCUS
self.mana = 0
#self.reagents = {REAGENT_BLOODMOSS: 1, REAGENT_MANDRAKE: 1, REAGENT_GINSENG: 1, REAGENT_SULFURASH: 1}
self.mantra = ''
示例3: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 6)
self.reagents = {REAGENT_BLACKPEARL: 1, REAGENT_SPIDERSILK: 1, REAGENT_GINSENG: 1}
self.mantra = 'In Ex Grav'
self.validtarget = TARGET_GROUND
self.harmful = 1
self.resistable = 1
示例4: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 4)
self.reagents = {REAGENT_BLACKPEARL: 1, REAGENT_SPIDERSILK: 1, REAGENT_SULFURASH: 1}
self.mantra = "In Flam Grav"
self.validtarget = TARGET_GROUND
self.harmful = 1
self.resistable = 1
示例5: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 6)
self.skill = NECROMANCY
self.requiredskill = 30
self.damageskill = SPIRITSPEAK
self.mana = 17
self.reagents = {REAGENT_BATWING: 1, REAGENT_GRAVEDUST: 1, REAGENT_DAEMONBLOOD: 1}
self.mantra = 'Kal Xen Bal'
示例6: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 5)
self.skill = CHIVALRY
self.requiredskill = 250
self.damageskill = FOCUS
self.mana = 15
self.tithingpoints = 10
self.mantra = 'Divinum Furis'
示例7: __init__
# 需要导入模块: from magic.spell import Spell [as 别名]
# 或者: from magic.spell.Spell import __init__ [as 别名]
def __init__(self):
Spell.__init__(self, 3)
self.reagents = {REAGENT_BLOODMOSS: 1, REAGENT_MANDRAKE: 1}
self.mantra = 'Rel Por'
self.validtarget = TARGET_GROUND
self.range = 12