def affect(target, effect_spec):
    effect_type = effect_spec['effect_type']
    del effect_spec['effect_type']
    effect_spec['target'] = target

    new_effect = effect_type(**effect_spec)

    add_history_value(target, 'hit_points')

    new_effect.trigger(Dying())
Python decorator to automate request reporting. Decorated functions must
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/cutesy/dictionary.py/affect--crossover with--dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/nodeserver_api.py/auto_request_report