当前位置: 首页>>代码示例>>Python>>正文


Python core.Character类代码示例

本文整理汇总了Python中core.Character的典型用法代码示例。如果您正苦于以下问题:Python Character类的具体用法?Python Character怎么用?Python Character使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Character类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 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})
开发者ID:foxhead128,项目名称:rpg-battle-system,代码行数:30,代码来源:arianrhod.py

示例2: __init__

 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})
开发者ID:foxhead128,项目名称:rpg-battle-system,代码行数:33,代码来源:heroes.py

示例3: __init__

 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})
开发者ID:foxhead128,项目名称:rpg-battle-system,代码行数:28,代码来源:marius.py

示例4: __init__

 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})
开发者ID:foxhead128,项目名称:rpg-battle-system,代码行数:28,代码来源:sth.py

示例5: __init__

 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})
开发者ID:foxhead128,项目名称:rpg-battle-system,代码行数:33,代码来源:heroes3.py


注:本文中的core.Character类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。