增加部分角色超击破伤害计算

This commit is contained in:
Aluxes 2024-05-14 23:18:13 +08:00
parent db2f4fbdbf
commit 2a776ca4dd
No known key found for this signature in database
GPG Key ID: 6696152F9C003087
7 changed files with 210 additions and 7 deletions

View File

@ -128,7 +128,7 @@ const ProfileChange = {
} }
// 匹配武器 // 匹配武器
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]) { if (wRet && wRet[7]) {
let weaponName = lodash.trim(wRet[7]) let weaponName = lodash.trim(wRet[7])
let weapon = Weapon.get(weaponName, game, ret.char.game) let weapon = Weapon.get(weaponName, game, ret.char.game)

View File

@ -93,10 +93,10 @@ export const aliasCfg = {
繁星竞技场: '繁星,竞技场', 繁星竞技场: '繁星,竞技场',
折断的龙骨: '龙骨', 折断的龙骨: '龙骨',
宝命长存的莳者: '莳者,时者', 宝命长存的莳者: '莳者,时者',
骇域漫游的信使: '信使', 骇域漫游的信使: '信使,信使套',
毁烬焚骨的大公: '毁烬,焚骨,毁烬焚骨,追加套,追加攻击套,追伤套', 毁烬焚骨的大公: '毁烬,焚骨,毁烬焚骨,追加套,追加攻击套,追伤套',
幽锁深牢的系囚: '幽锁,深牢,幽锁深牢,持续伤害套', 幽锁深牢的系囚: '幽锁,深牢,幽锁深牢,持续伤害套',
苍穹战线格拉默: '苍穹,战线,苍穹战线', 苍穹战线格拉默: '苍穹,战线,苍穹战线,格拉默',
梦想之地匹诺康尼: '梦想,梦想之地,匹诺康尼', 梦想之地匹诺康尼: '梦想,梦想之地,匹诺康尼',
死水深潜的先驱: '死水,深潜,死水深潜,死水套,深潜套', 死水深潜的先驱: '死水,深潜,死水深潜,死水套,深潜套',
机心戏梦的钟表匠: '机心,钟表匠,机心套,钟表套', 机心戏梦的钟表匠: '机心,钟表匠,机心套,钟表套',

View File

@ -35,6 +35,7 @@ export const buffs = [{
} }
}, { }, {
title: '加拉赫6命击破特攻提高[stance]%', title: '加拉赫6命击破特攻提高[stance]%',
cons: 6,
data: { data: {
stance: 20 stance: 20
} }

View File

@ -0,0 +1,88 @@
export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '强化普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a2['技能伤害'], 'a')
}, {
title: '战技生命回复',
dmg: ({ talent }, { heal }) => heal(talent.e['生命值回复'])
}, {
title: '天赋生命回复',
dmg: ({ talent }, { heal }) => heal(talent.t['生命值回复'])
}, {
title: '开阮加·普攻超击破伤害',
params: { team: true },
dmg: ({ cons }, { reaction }) => {
// 加拉赫6命提高20%弱点击破效率阮梅提供50%弱点击破效率
let cost = 1 * ((cons < 6 ? 1 : 1.2) + 0.5)
return {
avg: reaction('superBreak').avg * cost * 1.6 // 同谐主提供1.6独立增伤乘区
}
}
}, {
title: '开阮加·强化普攻超击破伤害',
params: { team: true },
dmg: ({ cons }, { reaction }) => {
// 加拉赫6命提高20%弱点击破效率阮梅提供50%弱点击破效率
let cost = 3 * ((cons < 6 ? 1 : 1.2) + 0.5)
return {
avg: reaction('superBreak').avg * cost * 1.6 // 同谐主提供1.6独立增伤乘区
}
}
}, {
title: '开阮加·终结技超击破伤害',
params: { team: true },
dmg: ({ cons }, { reaction }) => {
// 加拉赫6命提高20%弱点击破效率阮梅提供50%弱点击破效率
let cost = 2 * ((cons < 6 ? 1 : 1.2) + 0.5)
return {
avg: reaction('superBreak').avg * cost * 1.6 // 同谐主提供1.6独立增伤乘区
}
}
}]
export const mainAttr = 'atk,heal,stance'
export const defDmgIdx = 3
export const buffs = [{
title: '行迹-崭新配方:基于自身击破特攻,提高治疗量[heal]%',
tree: 1,
sort: 9,
data: {
heal: ({ attr }) => Math.min(attr.stance * 0.5, 75)
}
}, {
title: '天赋-鏖战正酣终结技Debuff使敌方受到的击破伤害提高[breakEnemydmg]%',
data: {
breakEnemydmg: ({ talent }) => talent.t['击破伤害提高'] * 100
}
}, {
title: '加拉赫1命效果抵抗提高[effDef]%',
cons: 1,
data: {
effDef: 50
}
}, {
title: '加拉赫6命击破特攻提高[stance]%弱点击破效率提高20%',
cons: 6,
data: {
stance: 20
}
}, {
title: '0魂阮梅弱点击破效率提高50%击破特攻提高20%抗性穿透提高25%速度提高10%',
check: ({ params }) => params.team === true,
data: {
stance: 20,
kx: 25,
speedPct: 10
}
}, {
title: '6魂钟表匠开拓者提高击破特攻[stance]%场上敌人数量为1时超击破伤害提高60%',
check: ({ params }) => params.team === true,
data: {
stance: 30 + 30 + 300 * 0.15 // 终结技30+钟表匠30+四命转化
}
}]
export const createdBy = 'Aluxes'

View File

@ -83,11 +83,12 @@ export const buffs = [{
title: '开拓者6命战技的额外伤害次数增加2次', title: '开拓者6命战技的额外伤害次数增加2次',
cons: 6 cons: 6
}, { }, {
title: '0魂阮梅弱点击破效率提高50%击破特攻提高20%抗性穿透提高25%', title: '0魂阮梅弱点击破效率提高50%击破特攻提高20%抗性穿透提高25%速度提高10%',
check: ({ params }) => params.team === true, check: ({ params }) => params.team === true,
data: { data: {
stance: 20, stance: 20,
kx: 25 kx: 25,
speedPct: 10
} }
}, { }, {
title: '加拉赫敌方受到的击破伤害提高13.2%', title: '加拉赫敌方受到的击破伤害提高13.2%',

View File

@ -83,11 +83,12 @@ export const buffs = [{
title: '开拓者6命战技的额外伤害次数增加2次', title: '开拓者6命战技的额外伤害次数增加2次',
cons: 6 cons: 6
}, { }, {
title: '0魂阮梅弱点击破效率提高50%击破特攻提高20%抗性穿透提高25%', title: '0魂阮梅弱点击破效率提高50%击破特攻提高20%抗性穿透提高25%速度提高10%',
check: ({ params }) => params.team === true, check: ({ params }) => params.team === true,
data: { data: {
stance: 20, stance: 20,
kx: 25 kx: 25,
speedPct: 10
} }
}, { }, {
title: '加拉赫敌方受到的击破伤害提高13.2%', title: '加拉赫敌方受到的击破伤害提高13.2%',

View File

@ -0,0 +1,112 @@
// 注意天赋击破伤害减伤区为0.9终结技和秘技击破伤害减伤区为1.0
export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '20祝福·秘技击破伤害(2韧性怪)',
params: { break: true },
dmg: ({ talent }, { reaction }) => {
return {
avg: reaction('iceBreak').avg / 0.9 * (2 + 2) / 4 * 20
}
}
}, {
title: '20祝福·秘技击破伤害(10韧性怪)',
params: { break: true },
dmg: ({ talent }, { reaction }) => {
return {
avg: reaction('iceBreak').avg / 0.9 * (10 + 2) / 4 * 20
}
}
}, {
title: '终结技击破伤害(2韧性怪)',
params: { break: true, qBuff: true },
dmg: ({ talent }, { reaction }) => {
return {
avg: reaction('iceBreak').avg / 0.9 * (2 + 2) / 4 * talent.q['击破伤害比例']
}
}
}, {
title: '终结技击破伤害(10韧性怪)',
params: { break: true, qBuff: true },
dmg: ({ talent }, { reaction }) => {
return {
avg: reaction('iceBreak').avg / 0.9 * (10 + 2) / 4 * talent.q['击破伤害比例']
}
}
}, {
title: '天赋击破伤害(2韧性怪)',
params: { qBuff: true },
dmg: ({ talent, cons }, { reaction }) => {
const extraBreakTd = cons * 1 >= 6 ? 2 : 0
return {
avg: reaction('iceBreak').avg * (2 + 2) / 4 * talent.t['击破伤害比例'] * (1 + extraBreakTd)
}
}
}, {
title: '天赋击破伤害(10韧性怪)',
params: { qBuff: true },
dmg: ({ talent, cons }, { reaction }) => {
const extraBreakTd = cons * 1 >= 6 ? 2 : 0
return {
avg: reaction('iceBreak').avg * (10 + 2) / 4 * talent.t['击破伤害比例'] * (1 + extraBreakTd)
}
}
}, {
title: '开阮加·普攻超击破伤害',
params: { team: true, qBuff: true, break: true },
dmg: ({ talent }, { reaction }) => {
let cost = 1 * 1.5
return {
avg: reaction('superBreak').avg * cost * 1.6
}
}
}]
export const defDmgIdx = 6
export const mainAttr = 'atk,stance'
export const buffs = [{
title: '行迹-物体呼吸中:我方全体击破特攻提高[stance]%',
tree: 1,
data: {
stance: 20
}
}, {
title: '阮梅终结技:使我方全体全属性抗性穿透提高[kx]%',
check: ({ params }) => params.qBuff === true,
data: {
kx: ({ talent }) => talent.q['抗性穿透提高'] * 100
}
}, {
title: '阮梅1命终结技期间我方全体造成伤害时无视目标[ignore]%防御力',
check: ({ params }) => params.qBuff === true,
cons: 1,
data: {
ignore: 20
}
}, {
title: '阮梅4命敌方目标弱点被击破时自身击破特攻提高[stance]%',
check: ({ params }) => params.break === true,
cons: 4,
data: {
stance: 100
}
}, {
title: '阮梅6命天赋造成的击破伤害倍率额外提高200%',
cons: 6
}, {
title: '6魂钟表匠开拓者提高击破特攻[stance]%场上敌人数量为1时超击破伤害提高60%',
check: ({ params }) => params.team === true,
data: {
stance: 30 + 30 + 300 * 0.15 // 终结技30+钟表匠30+四命转化
}
}, {
title: '加拉赫敌方受到的击破伤害提高13.2%',
check: ({ params }) => params.team === true,
data: {
breakEnemydmg: 13.2
}
}]
export const createdBy = 'Aluxes'