mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +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;
|
||||
}
|
||||
|
||||
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;
|
||||
if (heroPerDamage <= 0) return null;
|
||||
}
|
||||
heroPerDamage = atk - monDef;
|
||||
if (heroPerDamage <= 0) return null;
|
||||
|
||||
// 吸血
|
||||
if (special.includes(11)) {
|
||||
|
Loading…
Reference in New Issue
Block a user