修改BindEvent.lua:
--获取斗笠或面巾
local _ZLItem = nil
if itemFrom == const.ift_state then
_ZLItem = c.item.getMyEquipPos(_nowItemPos)
elseif itemFrom == const.ift_herostate then
_ZLItem = c.item.getHeroEquipPos(_nowItemPos)
elseif itemFrom == const.ift_user1state then
_ZLItem = c.item.getUser1EquipPos(_nowItemPos)
end
if _ZLItem ~= nil then
dbitem = c.item.getDBItem(_ZLItem:getIndex())
if dbitem ~= nil then
_temp = itemInfo.getItemInfo(_ZLItem, dbitem, actor, itemFrom, _nowItemPos)
if _temp ~= "" then
if _mainItemInfo ~= "" then
_temp = _temp.."\\ \\".._mainItemInfo
end
_mainItemInfo = _temp
--获取钢纹属性
if _steelInfo == "" then
_steelInfo = itemInfo.getItemSteelInfo(_ZLItem, dbitem)
end
上面的,
_temp = _temp.."\\ \\".._mainItemInfo
修改为,
_temp = hintHelper.addParent().._mainItemInfo..hintHelper.addSubParent().. _temp
保存,重读LUA,测试效果。
|