def gen_skill_str(text, is_special=False):
    text = text.replace('\n', '')
    text = text.replace('・', '')
    print(text)
    atk_str = ''
    mp_str = ''
    special_str = ''
    is_fast_str = ''
    if ('すばやく' in text):
        is_fast_str = 'is_fast=True, '
    if ('攻撃。' in text):
        atk_str = parse_atk(text)
    turn = parse_turns(text)
    texts = []
    texts_tmp = text.split('し、')
    scope_guessing = None
    for txt in texts_tmp:
        if ('味方全体' in txt):
            scope_guessing = '味方全体'
        elif ('自分' in txt):
            scope_guessing = '自分'
        if (('自分' not in txt) and ('味方全体' not in txt)):
            if scope_guessing:
                txt = (scope_guessing + txt)
        texts.extend(txt.split('さらに'))
    buffs_eff = []
    debuffs_eff = []
    adj_buffs_eff = []
    for t in texts:
        b = parse_buff(t, turn)
        d = parse_debuff(t, turn)
        a = parse_adj_buff(t)
        rhp = parse_recover_hp(t, turn)
        rmp = parse_recover_mp(t, turn)
        if b:
            buffs_eff.append(b)
        if rhp:
            buffs_eff.append(rhp)
        if rmp:
            buffs_eff.append(rmp)
        if d:
            debuffs_eff.append(d)
        if a:
            adj_buffs_eff.append(a)
    buffs_str = f"buffs=[{', '.join(buffs_eff)}],"
    debuffs_str = f"debuffs=[{', '.join(debuffs_eff)}],"
    adj_buffs_str = f"adj_buffs=[{', '.join(adj_buffs_eff)}],"
    if is_special:
        special_str = 'is_special=True,'
    else:
        m = re.match('.+（MP:(\\d+)）.*', text, re.UNICODE)
        if m:
            mp = m.group(1)
            mp_str = f'mp={mp},'
    skill_dec_str = f'Skill({is_fast_str} {atk_str} {special_str} {mp_str} {buffs_str} {debuffs_str} {adj_buffs_str})'
    return skill_dec_str
def gen_skill_str(text, is_special=False):
    text = text.replace('\n', )
    text = text.replace('・', )
    print(text)
    atk_str = 
    mp_str = 
    special_str = 
    is_fast_str = 
    if ('すばやく' in text):
        is_fast_str = 'is_fast=True, '
    if ('攻撃。' in text):
        atk_str = parse_atk(text)
    turn = parse_turns(text)
    texts = []
    texts_tmp = text.split('し、')
    scope_guessing = None
    for txt in texts_tmp:
        if ('味方全体' in txt):
            scope_guessing = '味方全体'
        elif ('自分' in txt):
            scope_guessing = '自分'
        if (('自分' not in txt) and ('味方全体' not in txt)):
            if scope_guessing:
                txt = (scope_guessing + txt)
        texts.extend(txt.split('さらに'))
    buffs_eff = []
    debuffs_eff = []
    adj_buffs_eff = []
    for t in texts:
        b = parse_buff(t, turn)
        d = parse_debuff(t, turn)
        a = parse_adj_buff(t)
        rhp = parse_recover_hp(t, turn)
        rmp = parse_recover_mp(t, turn)
        if b:
            buffs_eff.append(b)
        if rhp:
            buffs_eff.append(rhp)
        if rmp:
            buffs_eff.append(rmp)
        if d:
            debuffs_eff.append(d)
        if a:
            adj_buffs_eff.append(a)
    buffs_str = f"buffs=[{', '.join(buffs_eff)}],"
    debuffs_str = f"debuffs=[{', '.join(debuffs_eff)}],"
    adj_buffs_str = f"adj_buffs=[{', '.join(adj_buffs_eff)}],"
    if is_special:
        special_str = 'is_special=True,'
    else:
        m = re.match('.+（MP:(\\d+)）.*', text, re.UNICODE)
        if m:
            mp = m.group(1)
            mp_str = f'mp={mp},'
    skill_dec_str = f'Skill({is_fast_str} {atk_str} {special_str} {mp_str} {buffs_str} {debuffs_str} {adj_buffs_str})'
    return skill_dec_str