mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
完全重构伤害计算;支持异常伤害计算;支持所有武器、套装计算;新增悠真计算等
This commit is contained in:
parent
f7e1066773
commit
3f8e64af66
99 changed files with 4243 additions and 1615 deletions
53
model/damage/character/青衣/calc.js
Normal file
53
model/damage/character/青衣/calc.js
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/** @type {import('../../BuffManager.ts').BuffManager['buffs']} */
|
||||
export const buffs = [
|
||||
{
|
||||
name: '6影',
|
||||
type: '暴击伤害',
|
||||
value: 1,
|
||||
range: ['AQ'],
|
||||
isForever: true
|
||||
},
|
||||
{
|
||||
name: '6影',
|
||||
type: '无视抗性',
|
||||
value: 0.2
|
||||
},
|
||||
{
|
||||
name: '1影',
|
||||
type: '无视防御',
|
||||
value: 0.15
|
||||
},
|
||||
{
|
||||
name: '1影',
|
||||
type: '暴击率',
|
||||
value: 0.2
|
||||
},
|
||||
{
|
||||
name: '额外能力:阳关三叠',
|
||||
type: '攻击力',
|
||||
isForever: true,
|
||||
value: ({ calc }) => Math.max(0, Math.min((calc.get_Impact() - 120) * 6, 600))
|
||||
},
|
||||
{
|
||||
name: '连携技:太平令',
|
||||
type: '增伤',
|
||||
value: 0.03 * 20,
|
||||
range: ['RL']
|
||||
},
|
||||
{
|
||||
name: '闪络',
|
||||
source: 'Skill',
|
||||
type: '增伤',
|
||||
value: 0.01 * 25,
|
||||
range: ['AQ']
|
||||
}
|
||||
]
|
||||
|
||||
/** @type {import('../../Calculator.ts').Calculator['skills']} */
|
||||
export const skills = [
|
||||
{ name: '普攻:醉花月云转', type: 'AQ' },
|
||||
{ name: '闪避反击:意不尽', type: 'CF' },
|
||||
{ name: '强化特殊技:月上海棠', type: 'EQ' },
|
||||
{ name: '连携技:太平令', type: 'RL' },
|
||||
{ name: '终结技:八声甘州', type: 'RZ' }
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue