function itemInfo.getExtInfo(item)
local ret = ""
local Ext0 = item:getExt(0)--取物品变量0的值(存储宝石物品IDX)
if Ext0 > 0 then--查询宝石DB
--根据物品IDX获取数据库实例
local dbitem = nil
dbitem = c.item.getDBItem(Ext0)
if dbitem ~= nil then
if dbitem:getName() == "击破灵石" then--嵌入物品为:宝石EX,则计算属性
ret = "\\ \\"..hintHelper.text("灵石属性", const.clyellow).."\\"
ret = ret..hintHelper.img("Items", dbitem:getLooks(), 11, 11)..""..dbitem:getName()
local nDc = dbitem:getDC1()--DB库DC字段 表示+攻击上限
local nMc = dbitem:getDC2()--DB库DC1字段表示+魔法上限
local nSc = dbitem:getMC1()--DB库MC字段 表示+道术上限
local nAA = dbitem:getSC1()--DB库MC字段 表示+击破
if nDc > 0 then ret = ret.."\\攻击上限+"..nDc.."\\" end
if nMc > 0 then ret = ret.."\\魔法上限+"..nMc.."\\" end
if nSc > 0 then ret = ret.."\\道术上限+"..nSc.."\\" end
if nJP > 0 then ret = ret.."\\击破+"..nJP.."\\" end
end
end
end
return ret
end