dcfenhui的ai修复
This commit is contained in:
parent
e3b36afad0
commit
6e0e2aea61
|
@ -1154,7 +1154,7 @@ const skills = {
|
|||
const count = Math.min(
|
||||
5,
|
||||
player.getAllHistory("useCard", evt => {
|
||||
return get.color(evt.card, player) === "black" && evt.targets && evt.targets.includes(target);
|
||||
return evt.targets && evt.targets.includes(target);
|
||||
}).length
|
||||
);
|
||||
let value = Math.max(player.getHp(true), 3) - count;
|
||||
|
|
Loading…
Reference in New Issue