diff --git a/project/functions.js b/project/functions.js index f545b16..cb6e0b8 100644 --- a/project/functions.js +++ b/project/functions.js @@ -1690,8 +1690,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = //fill(core.formatBigNumber(core.status.hero.money), 42, 175); ctx.textAlign = 'center' //文字居中 ctx.textBaseline = 'middle' - ctx.fillText(core.getLvName(), 40, 180) - fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195) + fill(core.getLvName(), 40, 180, '#FFFF00') + fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195, '#00FFFF') if (core.getNextLvUpNeed()) { var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp) /*ctx.moveTo(40, 185); @@ -1701,7 +1701,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = ctx.fill();*/ ctx.beginPath() //高亮环路径 ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false) - ctx.strokeStyle = 'rgb(255, 255, 0)' + ctx.strokeStyle = 'rgb(255, 0, 255)' ctx.lineWidth = 5 ctx.lineCap = 'butt' ctx.stroke() diff --git a/project/plugins.js b/project/plugins.js index 97e47c3..3bcee1f 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -1860,6 +1860,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = if (core.getRealStatus('hp') == _currentHp) { core.setFlag("dynHP", core.formatBigNumber(_currentHp)); core.setFlag("dynHPneed", false); + core.updateStatusBar() } else { core.setFlag("dynHP", core.formatBigNumber(Math.ceil(_currentHp))); core.setFlag("dynHPneed", true);