补充var替换
This commit is contained in:
parent
31792e30d2
commit
d3127bd658
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue