1
0
Fork 0

🐛 fix ES6 in player.getWisdom

This commit is contained in:
WEBXOSS 2017-08-20 23:51:07 +08:00
parent 05172c0de2
commit ab1a1cd601

View file

@ -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;