Files
fc/dev/project/library/imports/1c/1c4d20c8-abc4-478c-b771-c92ab331af51.js
T

28 lines
791 B
JavaScript
Raw Normal View History

2026-05-24 10:21:26 +08:00
"use strict";
cc._RF.push(module, '1c4d2DIq8RHjLdxySqzMa9R', 'cmp.partner.holy.refine.partner');
// Scripts/mod/partner/cmps/artifact/cmp.partner.holy.refine.partner.js
"use strict";
var ItemBase = require("cmp.item.base");
var BackPackConst = require("backpack_const");
cc.Class({
"extends": ItemBase,
properties: {},
// 单设:品质
setQuality: function setQuality(_qa) {
if (this.nodBG) {
var qa = null;
if (nx.dt.numPositive(_qa)) {
var _show = _qa < BackPackConst.quality.golden ? _qa : BackPackConst.quality.red;
qa = cc.path.join("coms/images", "bg_qa" + _show);
}
nx.gui.setSpriteFrame(this.nodBG, "", qa);
if (!qa) {
nx.gui.getComponent(this.nodBG, "", cc.Sprite).curKey = "";
}
}
}
});
cc._RF.pop();