2022-09-24 12:19:59 +00:00
|
|
|
export const abbr = {
|
|
|
|
炽烈的炎之魔女: '魔女',
|
|
|
|
昔日宗室之仪: '宗室',
|
|
|
|
翠绿之影: '风套',
|
|
|
|
千岩牢固: '千岩',
|
|
|
|
流浪大地的乐团: '乐团',
|
|
|
|
绝缘之旗印: '绝缘',
|
|
|
|
被怜爱的少女: '少女',
|
|
|
|
沉沦之心: '水套',
|
|
|
|
角斗士的终幕礼: '角斗',
|
|
|
|
冰风迷途的勇士: '冰套',
|
|
|
|
逆飞的流星: '逆飞',
|
|
|
|
苍白之火: '苍白',
|
|
|
|
华馆梦醒形骸记: '华馆',
|
|
|
|
战狂: '战狂',
|
|
|
|
悠古的磐岩: '岩套',
|
|
|
|
渡过烈火的贤人: '渡火',
|
|
|
|
游医: '游医',
|
|
|
|
教官: '教官',
|
|
|
|
冒险家: '冒险',
|
|
|
|
追忆之注连: '追忆',
|
|
|
|
海染砗磲: '海染',
|
|
|
|
如雷的盛怒: '如雷',
|
|
|
|
染血的骑士道: '染血',
|
|
|
|
平息鸣雷的尊者: '平雷',
|
|
|
|
流放者: '流放',
|
|
|
|
学士: '学士',
|
|
|
|
行者之心: '行者',
|
|
|
|
幸运儿: '幸运',
|
|
|
|
勇士之心: '勇士',
|
|
|
|
守护之心: '守护',
|
|
|
|
武人: '武人',
|
|
|
|
赌徒: '赌徒',
|
|
|
|
奇迹: '奇迹',
|
|
|
|
辰砂往生录: '辰砂',
|
|
|
|
来歆余响: '余响',
|
|
|
|
深林的记忆: '草套',
|
2022-11-24 15:27:03 +00:00
|
|
|
饰金之梦: '饰金',
|
|
|
|
沙上楼阁史话: '沙套',
|
|
|
|
乐园遗落之花: '乐园'
|
2022-09-24 12:19:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const attrValue = {
|
2022-11-06 04:27:45 +00:00
|
|
|
cpct: 3.89,
|
|
|
|
cdmg: 7.77,
|
2022-09-24 12:19:59 +00:00
|
|
|
mastery: 23.31,
|
|
|
|
atk: 5.83,
|
|
|
|
hp: 5.83,
|
|
|
|
def: 7.29,
|
|
|
|
recharge: 6.48,
|
|
|
|
dmg: 5.825,
|
|
|
|
phy: 7.288,
|
|
|
|
heal: 4.487
|
|
|
|
}
|
2022-11-24 15:27:03 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @type {{phy: {format: string, text: string, title: string, type: string, value: number}, def: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, hp: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, atkPlus: {valueMin: number, format: string, title: string, type: string, value: number, base: string}, hpPlus: {valueMin: number, format: string, title: string, type: string, value: number, base: string}, mastery: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, cpct: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, defPlus: {valueMin: number, format: string, title: string, type: string, value: number, base: string}, cdmg: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, recharge: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, heal: {format: string, text: string, title: string, type: string, value: number}, atk: {valueMin: number, format: string, calc: string, text: string, title: string, type: string, value: number}, dmg: {format: string, text: string, title: string, type: string, value: number}}}
|
|
|
|
*/
|
2022-09-24 12:19:59 +00:00
|
|
|
export const attrMap = {
|
2022-11-24 15:27:03 +00:00
|
|
|
atk: { title: '大攻击', format: 'pct', calc: 'pct', type: 'normal', value: 5.83, text: '5.83%', valueMin: 4.08 },
|
2022-11-24 08:25:04 +00:00
|
|
|
atkPlus: { title: '小攻击', format: 'comma', type: 'plus', base: 'atk', value: 19.45, valueMin: 13.62 },
|
2022-11-24 15:27:03 +00:00
|
|
|
def: { title: '大防御', format: 'pct', calc: 'pct', type: 'normal', value: 7.29, text: '7.29%', valueMin: 5.1 },
|
2022-11-24 08:25:04 +00:00
|
|
|
defPlus: { title: '小防御', format: 'comma', type: 'plus', base: 'def', value: 23.15, valueMin: 16.2 },
|
2022-11-24 15:27:03 +00:00
|
|
|
hp: { title: '大生命', format: 'pct', calc: 'pct', type: 'normal', value: 5.83, text: '5.83%', valueMin: 4.08 },
|
2022-11-24 08:25:04 +00:00
|
|
|
hpPlus: { title: '小生命', format: 'comma', type: 'plus', base: 'hp', value: 298.75, valueMin: 209.13 },
|
2022-11-24 15:27:03 +00:00
|
|
|
cpct: { title: '暴击率', format: 'pct', calc: 'plus', type: 'normal', value: 3.89, text: '3.89%', valueMin: 2.72 },
|
|
|
|
cdmg: { title: '暴击伤害', format: 'pct', calc: 'plus', type: 'normal', value: 7.77, text: '7.77%', valueMin: 5.44 },
|
|
|
|
mastery: { title: '元素精通', format: 'comma', calc: 'plus', type: 'normal', value: 23.31, text: '23.31', valueMin: 16.32 },
|
|
|
|
recharge: { title: '充能效率', format: 'pct', calc: 'plus', type: 'normal', value: 6.48, text: '6.48%', valueMin: 4.53 },
|
2022-09-24 12:19:59 +00:00
|
|
|
dmg: { title: '元素伤害', format: 'pct', type: 'normal', value: 5.825, text: '5.83%' },
|
|
|
|
phy: { title: '物伤加成', format: 'pct', type: 'normal', value: 7.288, text: '7.29%' },
|
|
|
|
heal: { title: '治疗加成', format: 'pct', type: 'normal', value: 4.487, text: '4.49%' }
|
|
|
|
}
|
|
|
|
|
|
|
|
let anMap = {}
|
|
|
|
for (let attr in attrMap) {
|
|
|
|
anMap[attrMap[attr].title] = attr
|
|
|
|
}
|
|
|
|
|
|
|
|
export const attrNameMap = anMap
|
|
|
|
|
|
|
|
export const mainAttr = {
|
|
|
|
3: 'atk,def,hp,mastery,recharge'.split(','),
|
|
|
|
4: 'atk,def,hp,mastery,dmg,phy'.split(','),
|
2022-11-06 04:27:45 +00:00
|
|
|
5: 'atk,def,hp,mastery,heal,cpct,cdmg'.split(',')
|
2022-09-24 12:19:59 +00:00
|
|
|
}
|
|
|
|
|
2022-11-27 19:35:57 +00:00
|
|
|
export const subAttr = 'atk,atkPlus,def,defPlus,hp,hpPlus,mastery,recharge,cpct,cdmg'.split(',')
|