mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
修正追加攻击伤害计算增益判断
This commit is contained in:
parent
a54fee3edb
commit
6c77855f64
6 changed files with 17 additions and 13 deletions
|
|
@ -143,7 +143,8 @@ export class BuffManager {
|
|||
else if (param.redirect) {
|
||||
if (skillRange.some(ST => buffRange.some(BT => BT === ST)))
|
||||
return true;
|
||||
if (buffRange.some(BT => param.redirect.startsWith(BT)))
|
||||
const redirect = Array.isArray(param.redirect) ? param.redirect : [param.redirect];
|
||||
if (buffRange.some(BT => redirect.some(RT => RT.startsWith(BT))))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue