搜索
查看: 1555|回复: 5

[求助] 求助如何把攻魔道弄一排上显示

[复制链接]
发表于 2020-5-26 09:05:52 | 显示全部楼层 |阅读模式
我想把攻魔道弄一排上显示,LUA里面找了半天叶也没有找到改哪里

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2020-5-27 23:07:33 | 显示全部楼层
本帖最后由 1580 于 2020-5-27 23:09 编辑

ItemInfo.lua

--物品攻击属性
function itemInfo.getAttackProp(item, dbitem, itemFrom, itemPos)
        local ret, tmpValue = "", ""
        tmpValue = itemInfo.getDC(item, dbitem, itemFrom, itemPos)
        if tmpValue ~= "" then
                ret = ret..tmpValue.. " "
        end
        tmpValue = itemInfo.getMC(item, dbitem, itemFrom, itemPos)
        if tmpValue ~= "" then
                ret = ret..tmpValue
        end
        ret = ret.."\\"        
        tmpValue = itemInfo.getSC(item, dbitem, itemFrom, itemPos)
        if tmpValue ~= "" then
                ret = ret..tmpValue.. " "
        end
        tmpValue = itemInfo.getTC(item, dbitem, itemFrom, itemPos)
        if tmpValue ~= "" then
                ret = ret..tmpValue
        end
        return ret
end


查找所有 itemInfo.getDC
 楼主| 发表于 2020-5-28 10:19:38 | 显示全部楼层
1580 发表于 2020-5-27 23:07
ItemInfo.lua

--物品攻击属性

谢谢了,已经搞定了
发表于 2020-9-10 22:39:04 | 显示全部楼层
三少爷 发表于 2020-5-28 10:19
谢谢了,已经搞定了

怎么改,大佬,请指教
发表于 2020-9-11 00:02:24 | 显示全部楼层
1580 发表于 2020-5-27 23:07
ItemInfo.lua

--物品攻击属性

查找所有 itemInfo.getDC  ??

要怎么改。。。请指教
发表于 2020-9-14 23:28:21 | 显示全部楼层
怎么改。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|HGEM2论坛

GMT+8, 2024-9-20 17:47 , Processed in 0.484285 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表