找回密码
 register
搜索
查看: 488|回复: 0

[自写函数] 获取雕纹评分函数

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:527
  • 打卡月天数:16
  • 打卡总奖励:525
  • 最近打卡:2026-06-18 02:14:29
Waylee 发表于 2025-12-6 15:51 | 显示全部楼层 |阅读模式 | Google Chrome | Windows 10

马上注册,查看网站隐藏内容!!

您需要 登录 才可以下载或查看,没有账号?register

×

需要使用雪舞客户端定制函数,获取客户端全部装备雕纹总评分

function Lua_GetDWScore()
    local DWScore = 0
    for i=0,18 do
        if LuaFnIsUserEquipHaveDiaowen(i) == 1 then
            local DWID = LuaFnGetUserEquipDiaowenID(i)
            if DWID > 0 then
                DWScore = DWScore + LuaFnGetDiaoWenScore(DWID)
            end
        end
    end
    PushDebugMessage("DWScore:"..DWScore);
    return DWScore
end
您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-6-18 16:34 , Processed in 0.068127 second(s), 24 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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