Set Value String

This commit is contained in:
ckcz123 2018-11-02 16:00:39 +08:00
parent 41df8dfa35
commit 54b6a20580

View File

@ -810,7 +810,7 @@ events.prototype.doAction = function() {
var value=core.calValue(data.value); var value=core.calValue(data.value);
// 属性 // 属性
if (data.name.indexOf("status:")==0) { if (data.name.indexOf("status:")==0) {
value=parseFloat(value); // value=parseFloat(value);
core.setStatus(data.name.substring(7), value); core.setStatus(data.name.substring(7), value);
} }
// 道具 // 道具