本文整理汇总了Python中core.Character.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Character.__init__方法的具体用法?Python Character.__init__怎么用?Python Character.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类core.Character
的用法示例。
在下文中一共展示了Character.__init__方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from core import Character [as 别名]
# 或者: from core.Character import __init__ [as 别名]
def __init__(self):
Character.__init__(self,
"Gaenor",
5,
{"element": "Dimension",
"color": "red",
"form": "Humanoid",
"gender": 1,
"orientation": 1},
{"HP": 100,
"MP": 92,
"Attack": 134,
"Defense": 82,
"Special": 82,
"Resistance": 102,
"Speed": 108},
{"Slap": 0,
"Kick": 0,
"Punch": 0,
"Invigorate": 0,
"Recover": 7,
"Cut": 14,
"Refresh": 21,
"Iron Charge": 28,
"Helping Hand": 35,
"Volt Strike": 42,
"Faze": 49,
"Unidimensional Blade": 56,
"Regenerate": 63,
"Mindscrew": 100})
示例2: __init__
# 需要导入模块: from core import Character [as 别名]
# 或者: from core.Character import __init__ [as 别名]
def __init__(self):
Character.__init__(self,
"Selene",
5,
{"element": "Light",
"element2": "Dark",
"quirk": "Antigravity",
"color": "yellow",
"form": "Ghost",
"gender": 1,
"orientation": 0},
{"HP": 100,
"MP": 140,
"Attack": 60,
"Defense": 100,
"Special": 85,
"Resistance": 115,
"Speed": 100,
"Luck": 0,
"Accuracy": 130,
"Evasion": 170},
{"Helping Hand": 0,
"Kick": 0,
"Refresh": 7,
"Reflect": 14,
"Recover": 21,
"Healing Wish": 28,
"Faze": 35,
"Flash Strike": 42,
"Dark Pulse": 49,
"Regenerate": 56,
"Cosmic Ray": 63,
"Ice Beam": 70})
示例3: __init__
# 需要导入模块: from core import Character [as 别名]
# 或者: from core.Character import __init__ [as 别名]
def __init__(self):
Character.__init__(self,
"Louis",
5,
{"element": "Normal",
"color": "green",
"form": "Humanoid",
"gender": 2,
"orientation": 1},
{"HP": 100,
"MP": 110,
"Attack": 100,
"Defense": 90,
"Special": 100,
"Resistance": 90,
"Speed": 110},
{"Punch": 0,
"Kick": 0,
"Helping Hand": 0,
"Fireball": 7,
"Refresh": 14,
"Zephyr": 21,
"Blaze Charge": 28,
"Ram": 35,
"Wood Hammer": 42,
"Shadow Ball": 49,
"Waterspout": 56,
"Thunderbolt": 63})
示例4: __init__
# 需要导入模块: from core import Character [as 别名]
# 或者: from core.Character import __init__ [as 别名]
def __init__(self):
Character.__init__(self,
"Amy Rose",
5,
{"element": "Normal",
"color": "magenta",
"form": "Humanoid",
"gender": 1,
"orientation": 2},
{"HP": 95,
"MP": 125,
"Attack": 130,
"Defense": 100,
"Special": 50,
"Resistance": 70,
"Speed": 130},
{"Punch": 0,
"Kick": 0,
"Invigorate": 0,
"Flash": 7,
"Accelerate": 14,
"Regenerate": 21,
"War Dance": 28,
"Ram": 35,
"Wood Hammer": 42,
"Recover": 49,
"Rock Hammer": 56,
"Heal Bell": 63})
示例5: __init__
# 需要导入模块: from core import Character [as 别名]
# 或者: from core.Character import __init__ [as 别名]
def __init__(self):
Character.__init__(self,
"Saffron",
5,
{"element": "Fire",
"element2": "Ghost",
"quirk": "Antigravity",
"color": "orange",
"form": "Ghost",
"gender": 1,
"orientation": 2,
"bio": "A tsundere fire spirit with tremendous firepower. She gets lonely sometimes, though she'll never admit it."},
{"HP": 89,
"MP": 102,
"Attack": 49,
"Defense": 81,
"Special": 155,
"Resistance": 88,
"Speed": 136},
{"Candle Poke": 0,
"Slap": 0,
"Fog Drive": 0,
"Helping Hand": 0,
"Fireball": 8,
"Spite": 16,
"Shadow Ball": 24,
"Cursed Ground": 32,
"Dark Pulse": 40,
"Healing Aura": 48,
"Inferno": 56,
"Refresh": 64,
"Blaze Cannon": 72,
"Spectral Dance": 80})