diff --git a/game/game.js b/game/game.js index a7fd17dcc..40ca4687c 100644 --- a/game/game.js +++ b/game/game.js @@ -22238,6 +22238,11 @@ this.syncStorage(i); this.markSkill(i); }, + setMark:function(name,num,log){ + const count=this.countMark(name); + if(count>num)player.removeMark(name,count-num,log); + else if(count