给装备加上洗炼属性
local function attrPlus(play, item, val)local v = str1Fun(val)
local tbl = {
["abil"] = {
{
["i"] = 0,
["t"] = "[洗炼属性]:",
["c"] = 253,
["v"] = v,
},
},
["abilex"] = "3#26#134#1|3#24#259#1|3#23#411#1|3#28#207#1|3#27#382#1",
}
setitemcustomabil(play, item, tbl2json(tbl))
refreshitem(play, item);
recalcabilitys(play)
end
abilex 字段有什么用?是做什么的?是否可以多加一个string字段用于保存,我想保存的数据,比如洗炼出新的属性,但是我没有选择替换,这条洗炼应该绑定在这个装备上
页:
[1]