Removed ecosystem points

ryzomclassic-develop
kaetemi 5 years ago
parent 3f39669c9a
commit c1a3008ca0

@ -909,18 +909,18 @@ function RingPlayerInfo:fill(ringPoints)
-- tooltipUI.tooltip = self:tooltipRingRating(level, progress, "uiR2EDMasterlessRingRatingTooltip") -- tooltipUI.tooltip = self:tooltipRingRating(level, progress, "uiR2EDMasterlessRingRatingTooltip")
-- ecosystem Points -- ecosystem Points
local ecosystems = {"Basic", "Desert", "Subtropic", "Forest", "Jungle", "PrimeRoot"} -- local ecosystems = {"Basic", "Desert", "Subtropic", "Forest", "Jungle", "PrimeRoot"}
for k, eco in pairs(ecosystems) do -- for k, eco in pairs(ecosystems) do
local ecoVal = tostring(ringPoints[eco.."RingPoints"]) -- local ecoVal = tostring(ringPoints[eco.."RingPoints"])
local ecoValMax = tostring(ringPoints["Max" .. eco.."RingPoints"]) -- local ecoValMax = tostring(ringPoints["Max" .. eco.."RingPoints"])
local ecoUI = ui:find(string.lower(eco)) -- local ecoUI = ui:find(string.lower(eco))
local maxUI = ecoUI:find("max") -- local maxUI = ecoUI:find("max")
local valUI = ecoUI:find("val") -- local valUI = ecoUI:find("val")
tooltipUI = ecoUI:find("tt") -- tooltipUI = ecoUI:find("tt")
maxUI.hardtext = ecoValMax -- maxUI.hardtext = ecoValMax
valUI.hardtext = ecoVal -- valUI.hardtext = ecoVal
tooltipUI.tooltip = self:tooltipEcosystemPoints(ecoVal, ecoValMax, "uiR2ED" .. eco .. "PointsTooltip") -- tooltipUI.tooltip = self:tooltipEcosystemPoints(ecoVal, ecoValMax, "uiR2ED" .. eco .. "PointsTooltip")
end -- end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save