卢植 bug修复
This commit is contained in:
parent
20178e7e12
commit
86d812dc18
|
@ -392,8 +392,8 @@ const skills = {
|
||||||
if (targets.length === 0) return false;
|
if (targets.length === 0) return false;
|
||||||
return targets.reduce((p, c) => {
|
return targets.reduce((p, c) => {
|
||||||
let eff = get.damageEffect(c, player, player);
|
let eff = get.damageEffect(c, player, player);
|
||||||
if (eff < 0 && current.hp <= 2) {
|
if (eff < 0 && c.hp <= 2) {
|
||||||
const att = get.attitude(player, current);
|
const att = get.attitude(player, c);
|
||||||
if (att > 0) eff *= Math.sqrt(att);
|
if (att > 0) eff *= Math.sqrt(att);
|
||||||
}
|
}
|
||||||
return p + eff;
|
return p + eff;
|
||||||
|
|
Loading…
Reference in New Issue