Fix tiny bug
This commit is contained in:
parent
49b9f2f79c
commit
30a9004bbf
@ -1005,7 +1005,7 @@ editor_uievent_wrapper = function (editor) {
|
|||||||
var values = Array.from(document.getElementById('_previewStatusBarValue').children).filter(function (one) {
|
var values = Array.from(document.getElementById('_previewStatusBarValue').children).filter(function (one) {
|
||||||
return one.tagName == 'INPUT' || one.tagName == 'TEXTAREA';
|
return one.tagName == 'INPUT' || one.tagName == 'TEXTAREA';
|
||||||
}).map(function (one) { return one.value; });
|
}).map(function (one) { return one.value; });
|
||||||
core.status.hero.name = values[0].value;
|
core.status.hero.name = values[0];
|
||||||
core.status.hero.hp = parseFloat(values[1]);
|
core.status.hero.hp = parseFloat(values[1]);
|
||||||
core.status.hero.hpmax = parseFloat(values[2]);
|
core.status.hero.hpmax = parseFloat(values[2]);
|
||||||
core.status.hero.atk = parseFloat(values[3]);
|
core.status.hero.atk = parseFloat(values[3]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user