补充var替换

This commit is contained in:
IceCola 2024-05-11 22:19:24 +08:00
parent 31792e30d2
commit d3127bd658
1 changed files with 4 additions and 4 deletions

View File

@ -873,10 +873,10 @@ const skills = {
chooseToMove.set("num", num); chooseToMove.set("num", num);
chooseToMove.set("processAI", function (list) { chooseToMove.set("processAI", function (list) {
const check = function (card) { const check = function (card) {
var player = _status.event.player; const player = _status.event.player;
var next = player.next; const next = player.next;
var att = get.attitude(player, next); const att = get.attitude(player, next);
var judge = next.getCards("j")[tops.length]; const judge = next.getCards("j")[tops.length];
if (judge) { if (judge) {
return get.judge(judge)(card) * att; return get.judge(judge)(card) * att;
} }