mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-03-31 08:02:15 +02: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() {
|
Player.prototype.getWisdom = function() {
|
||||||
let wisdom = 0;
|
var wisdom = 0;
|
||||||
this.signis.forEach(function (signi) {
|
this.signis.forEach(function (signi) {
|
||||||
if (!signi.hasClass('英知')) return;
|
if (!signi.hasClass('英知')) return;
|
||||||
wisdom += signi.level;
|
wisdom += signi.level;
|
||||||
|
|
Loading…
Reference in a new issue