mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
update apps/profile/ProfileChange.js.
Signed-off-by: liangshi <1142607614@qq.com>
This commit is contained in:
parent
d20179774c
commit
e3da111220
@ -127,8 +127,8 @@ const ProfileChange = {
|
||||
return true
|
||||
}
|
||||
|
||||
// 匹配武器
|
||||
let wRet = /^(?:等?级?([1-9][0-9])?级?)?\s*(?:([1-5一二三四五满])?(?:(精炼?)|(叠影?))?([1-5一二三四五])?)?\s*(?:等?级?([1-9][0-9])?级?)?\s*(.*)$/.exec(txt)
|
||||
// 匹配武器
|
||||
let wRet = /^(?:等?级?([1-9][0-9])?级?)?\s*(?:([1-5一二三四五满])?(?:(精炼?)|(叠影?))([1-5一二三四五])?)?\s*(?:等?级?([1-9][0-9])?级?)?\s*(.*)$/.exec(txt)
|
||||
if (wRet && wRet[7]) {
|
||||
let weaponName = lodash.trim(wRet[7])
|
||||
let weapon = Weapon.get(weaponName, game, ret.char.game)
|
||||
|
Loading…
Reference in New Issue
Block a user