求助 以万为单位显示生命值的头像插件 NGA玩家社区
1个回答
展开全部
里是EUF里hpmpxp.lua文件里的一段代码
大神看看是不是和血量单位有关的
-- HP/MP/XP
function EUF_HP_Update(unit)
if not unit or (unit ~= "player" and unit ~= "pet" and unit ~="target" and not string.find(unit, "^party%d$")) then
return;
end;
-- if player is controlling a vehicle, switch player's HP to pet frame
if unit == "pet" and UnitHasVehicleUI("player") then
unit = "player";
end;
大神看看是不是和血量单位有关的
-- HP/MP/XP
function EUF_HP_Update(unit)
if not unit or (unit ~= "player" and unit ~= "pet" and unit ~="target" and not string.find(unit, "^party%d$")) then
return;
end;
-- if player is controlling a vehicle, switch player's HP to pet frame
if unit == "pet" and UnitHasVehicleUI("player") then
unit = "player";
end;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询