Exemple #1
0
def salve_applied_without_effect(match, event_args):
    salve = event_args["salve"]
    if salve == "mending":
        set_status("crippled_arm_1", False)
        set_status("crippled_arm_2", False)
        set_status("crippled_leg_1", False)
        set_status("crippled_leg_2", False)
    elif salve == "epidermal":
        set_status("blindness", True)
        set_status("deafness", True)
    set_balance("salve", Balance.Full)
Exemple #2
0
def equilibrium_disrupted(match):
    char.set_balance('equilibrium', char.Balance.Lost)
    char.set_status('disruption', True)
Exemple #3
0
def irid_moss_eaten_off_balance(match, event_args):
    assert event_args['herb'] in ('irid', 'moss')
    set_balance('irid', Balance.Lost)
Exemple #4
0
def irid_moss_balance_restored(match):
    set_balance('irid', Balance.Full)
Exemple #5
0
def herb_balance_restored(match):
    set_balance('herb', Balance.Full)
Exemple #6
0
def focus_balance_restored(match):
    set_balance('focus', Balance.Full)
Exemple #7
0
def potion_balance_restored(match):
    set_balance('potion', Balance.Full)
Exemple #8
0
def salve_balance_restored(match):
    set_balance("salve", Balance.Full)