mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-29 05:37:58 +08:00
fix: 特殊光环重复
This commit is contained in:
parent
4c4224a38c
commit
dcf540ae40
@ -1160,7 +1160,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
this,
|
this,
|
||||||
(e, enemy) => {
|
(e, enemy) => {
|
||||||
const s = enemy.specialHalo;
|
const s = enemy.specialHalo;
|
||||||
e.special.push(...s);
|
for (const spe of s) {
|
||||||
|
// 防止重复
|
||||||
|
if (!e.special.includes(spe))
|
||||||
|
e.special.push(spe);
|
||||||
|
}
|
||||||
// 如果是自身,就不进行特殊属性数值处理了
|
// 如果是自身,就不进行特殊属性数值处理了
|
||||||
if (e === this.info) return;
|
if (e === this.info) return;
|
||||||
// 然后计算特殊属性数值
|
// 然后计算特殊属性数值
|
||||||
|
Loading…
Reference in New Issue
Block a user