mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-09 00:38:00 +08:00
fix: 坚固 & 模仿
This commit is contained in:
parent
cb4b24106d
commit
4d3c0094a9
@ -805,19 +805,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (special.includes(3)) {
|
|
||||||
// 由于坚固的特性,只能放到这来计算了
|
|
||||||
if (atk > enemy.def) heroPerDamage = 1;
|
|
||||||
else return null;
|
|
||||||
} else {
|
|
||||||
// 模仿
|
|
||||||
if (special.includes(10)) {
|
|
||||||
monAtk = atk;
|
|
||||||
monDef = def;
|
|
||||||
}
|
|
||||||
heroPerDamage = atk - monDef;
|
heroPerDamage = atk - monDef;
|
||||||
if (heroPerDamage <= 0) return null;
|
if (heroPerDamage <= 0) return null;
|
||||||
}
|
|
||||||
|
|
||||||
// 吸血
|
// 吸血
|
||||||
if (special.includes(11)) {
|
if (special.includes(11)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user