mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
🐛 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