Upd:零号·安比、波可娜等伤害计算

This commit is contained in:
UCPr 2025-03-14 22:07:25 +08:00
parent c293eba2d7
commit ca29580286
13 changed files with 302 additions and 15 deletions

View file

@ -72,8 +72,13 @@ export class BuffManager {
buff = _.merge({
status: true,
isForever: false,
is: {},
...this.defaultBuff
}, buff);
if (buff.isForever)
buff.is.forever = true;
if (buff.range && !Array.isArray(buff.range))
buff.range = [buff.range];
if (!buff.source) {
if (buff.name.includes('核心') || buff.name.includes('天赋'))
buff.source = 'Talent';