mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
Upd:零号·安比、波可娜等伤害计算
This commit is contained in:
parent
c293eba2d7
commit
ca29580286
13 changed files with 302 additions and 15 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue