forked from mirrors/webxoss-core
🐛 fix ES6 in player.getWisdom
This commit is contained in:
parent
05172c0de2
commit
ab1a1cd601
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue