gm修改器修改

dev_chengFeng
wangzhenxing 2022-12-01 16:03:19 +08:00
parent b968848bc4
commit 81a5c3e014
1 changed files with 6 additions and 5 deletions

View File

@ -198,11 +198,12 @@ function GMChangePanel:SingleTask(go,data)
end
--LogError("data.id=="..data.Id.." data.name=="..data.Type)
local des=""
for i = 1, #data.Price do
if itemConfig[data.Price[i][1]] then
des=des.." "..itemConfig[data.Price[i][1]].Name.." *"..data.Price[i][2]
end
end
-- for i = 1, #data.Price do
-- if itemConfig[data.Price[i][1]] then
-- des=des.." "..itemConfig[data.Price[i][1]].Name.." *"..data.Price[i][2]
-- end
-- end
des=data.DisplayReward
itemDes.text=des