From ab1a1cd60100b43a9b2271296d1fa2e908760960 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Sun, 20 Aug 2017 23:51:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20ES6=20in=20player.getWisdo?= =?UTF-8?q?m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player.js b/Player.js index 981563e..1c8e63d 100644 --- a/Player.js +++ b/Player.js @@ -2412,7 +2412,7 @@ Player.prototype.pickCardsFromDeckTopAsyn = function(count,filter,max) { }; Player.prototype.getWisdom = function() { - let wisdom = 0; + var wisdom = 0; this.signis.forEach(function (signi) { if (!signi.hasClass('英知')) return; wisdom += signi.level;