示例#1
0
文件: bot.py 项目: emish/hearthbot
def hero_power_phase():
    """Plays our hero power if we have enough mana.
    """
    if gstate.tingle.mana_available() >= 2:
        control.use_hero_ability()
        gstate.tingle.spend_mana(2)
示例#2
0
文件: bot.py 项目: emish/hearthbot
def hero_power_phase():
    """Plays our hero power if we have enough mana.
    """
    if gstate.tingle.mana_available() >= 2:
        control.use_hero_ability()
        gstate.tingle.spend_mana(2)
示例#3
0
文件: bot.py 项目: emish/hearthbot
def play_hero_ability():
    control.use_hero_ability()
    gstate.tingle.spend_mana(2)
    time.sleep(2)
示例#4
0
文件: bot.py 项目: emish/hearthbot
def play_hero_ability():
    control.use_hero_ability()
    gstate.tingle.spend_mana(2)
    time.sleep(2)