Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix[kf]mapper data lost
Browse files Browse the repository at this point in the history
  • Loading branch information
汉广 committed Jun 25, 2023
1 parent 9de8462 commit a0166b9
Showing 1 changed file with 25 additions and 37 deletions.
62 changes: 25 additions & 37 deletions src/constant/jx3/skilldatalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,32 @@
from src.tools.utils import get_url, get_status, nodetemp, get_content, get_api
from src.tools.file import read, write
from src.tools.config import Config

__kf_dict = {
'凌雪':["隐龙决"],
'万花':["花间游","离经易道","花间","奶花"],
'天策':["傲血战意","铁牢律","马男","傲血","铁牢"],
'纯阳':["紫霞功","太虚剑意"],
'七秀':["云裳心经","冰心诀","bx","qx","nx","奶秀","冰心"],
'五毒':["毒经","补天诀","补天","奶毒","毒姐","dj"],
'唐门':["惊羽诀","天罗诡道","田螺","鲸鱼","惊羽"],
'藏剑':["问水诀","山居剑意","二少","叽哥"],
'明教':["焚影圣诀","明尊琉璃体","喵哥"],
'苍云':["分山劲","铁骨衣","岔劲"],
'长歌':["莫问","相知","咕咕"],
'霸刀':["北傲诀"],
'蓬莱':["凌海诀","伞爹","伞宗"],
'少林':["洗髓经","易筋经","和尚","大师"],
'衍天':["太玄经","衍天宗","灯皇"],
'药宗':["无方","灵素","狍子"],
'刀宗':["孤锋诀","刀爹","呆宗"],
}
kf_dict = {}
for x in __kf_dict:
for y in __kf_dict[x]:
kf_dict[y] = x
def kftosh(kf: str) -> str:
if kf in ["隐龙决"]:
return "凌雪"
elif kf in ["花间游","离经易道","花间","奶花"]:
return "万花"
elif kf in ["傲血战意","铁牢律","马男","傲血","铁牢"]:
return "天策"
elif kf in ["紫霞功","太虚剑意"]:
return "纯阳"
elif kf in ["云裳心经","冰心诀","bx","qx","nx","奶秀","冰心"]:
return "七秀"
elif kf in ["毒经","补天诀","补天","奶毒","毒姐","dj"]:
return "五毒"
elif kf in ["惊羽诀","天罗诡道","田螺","鲸鱼","惊羽"]:
return "唐门"
elif kf in ["问水诀","山居剑意","二少","叽哥"]:
return "藏剑"
elif kf in ["焚影圣诀","明尊琉璃体","喵哥"]:
return "明教"
elif kf in ["分山劲","铁骨衣","岔劲"]:
return "苍云"
elif kf in ["莫问","相知","咕咕"]:
return "长歌"
elif kf in ["北傲诀"]:
return "霸刀"
elif kf in ["凌海诀","伞爹","伞宗"]:
return "蓬莱"
elif kf in ["洗髓经","易筋经","和尚","大师"]:
return "少林"
elif kf in ["太玄经","衍天宗","灯皇"]:
return "衍天"
elif kf in ["无方","灵素","狍子"]:
return "药宗"
elif kf in ["孤锋诀","刀爹","呆宗"]:
return "刀宗"
else:
return False
return kf_dict.get(kf) or False


def aliases(SkillName: str) -> str:
if SkillName in ["隐龙诀","隐龙决","隐龙","凌雪","凌雪阁"]:
Expand Down

0 comments on commit a0166b9

Please sign in to comment.