本文整理汇总了Python中hsgame.game_objects.Minion.divine_shield方法的典型用法代码示例。如果您正苦于以下问题:Python Minion.divine_shield方法的具体用法?Python Minion.divine_shield怎么用?Python Minion.divine_shield使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类hsgame.game_objects.Minion
的用法示例。
在下文中一共展示了Minion.divine_shield方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: create_minion
# 需要导入模块: from hsgame.game_objects import Minion [as 别名]
# 或者: from hsgame.game_objects.Minion import divine_shield [as 别名]
def create_minion(self, player):
minion = Minion(3, 5)
minion.windfury = True
minion.charge = True
minion.divine_shield = True
minion.taunt = True
return minion
示例2: create_minion
# 需要导入模块: from hsgame.game_objects import Minion [as 别名]
# 或者: from hsgame.game_objects.Minion import divine_shield [as 别名]
def create_minion(self, player):
class Ashbringer(WeaponCard):
def __init__(self):
super().__init__("Ashbringer", 5, CHARACTER_CLASS.PALADIN, CARD_RARITY.LEGENDARY)
def create_weapon(self, player):
weapon = Weapon(5, 3)
return weapon
def equip_ashbringer(minion):
ashbringer = Ashbringer().create_weapon(player)
ashbringer.equip(player)
minion = Minion(6, 6, deathrattle=equip_ashbringer)
minion.divine_shield = True
minion.taunt = True
return minion
示例3: create_minion
# 需要导入模块: from hsgame.game_objects import Minion [as 别名]
# 或者: from hsgame.game_objects.Minion import divine_shield [as 别名]
def create_minion(self, player):
minion = Minion(4, 5)
minion.divine_shield = True
minion.taunt = True
return minion