fix: 修复血量动态变化插件导致播放录像时显示错误 修改状态栏部分文字颜色
This commit is contained in:
parent
7fc324e335
commit
52bad334e8
@ -1690,8 +1690,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
//fill(core.formatBigNumber(core.status.hero.money), 42, 175);
|
//fill(core.formatBigNumber(core.status.hero.money), 42, 175);
|
||||||
ctx.textAlign = 'center' //文字居中
|
ctx.textAlign = 'center' //文字居中
|
||||||
ctx.textBaseline = 'middle'
|
ctx.textBaseline = 'middle'
|
||||||
ctx.fillText(core.getLvName(), 40, 180)
|
fill(core.getLvName(), 40, 180, '#FFFF00')
|
||||||
fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195)
|
fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195, '#00FFFF')
|
||||||
if (core.getNextLvUpNeed()) {
|
if (core.getNextLvUpNeed()) {
|
||||||
var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp)
|
var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp)
|
||||||
/*ctx.moveTo(40, 185);
|
/*ctx.moveTo(40, 185);
|
||||||
@ -1701,7 +1701,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
ctx.fill();*/
|
ctx.fill();*/
|
||||||
ctx.beginPath() //高亮环路径
|
ctx.beginPath() //高亮环路径
|
||||||
ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false)
|
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.lineWidth = 5
|
||||||
ctx.lineCap = 'butt'
|
ctx.lineCap = 'butt'
|
||||||
ctx.stroke()
|
ctx.stroke()
|
||||||
|
@ -1860,6 +1860,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
if (core.getRealStatus('hp') == _currentHp) {
|
if (core.getRealStatus('hp') == _currentHp) {
|
||||||
core.setFlag("dynHP", core.formatBigNumber(_currentHp));
|
core.setFlag("dynHP", core.formatBigNumber(_currentHp));
|
||||||
core.setFlag("dynHPneed", false);
|
core.setFlag("dynHPneed", false);
|
||||||
|
core.updateStatusBar()
|
||||||
} else {
|
} else {
|
||||||
core.setFlag("dynHP", core.formatBigNumber(Math.ceil(_currentHp)));
|
core.setFlag("dynHP", core.formatBigNumber(Math.ceil(_currentHp)));
|
||||||
core.setFlag("dynHPneed", true);
|
core.setFlag("dynHPneed", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user