def parse_scope(scope_str):
    if ('敵全体' in scope_str):
        scope = 'Scope.foes'
    elif ('敵単体' in scope_str):
        scope = 'Scope.foe'
    elif ('味方全体' in scope_str):
        scope = 'Scope.my_team'
    elif ('自分' in scope_str):
        scope = 'Scope.my_self'
    else:
        raise ValueError
    return scope
def parse_scope(scope_str):
    if ('敵全体' in scope_str):
        scope = 'Scope.foes'
    elif ('敵単体' in scope_str):
        scope = 'Scope.foe'
    elif ('味方全体' in scope_str):
        scope = 'Scope.my_team'
    elif ('自分' in scope_str):
        scope = 'Scope.my_self'
    else:
        raise ValueError
    return scope