62 737
modifications
mAucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 22 : | Ligne 22 : | ||
end | end | ||
return n | return n | ||
end | |||
function formatChance(chance) | |||
chanceCeil = math.ceil(chance) | |||
if chanceCeil == chance then | |||
return chanceCeil | |||
else | |||
return string.format("%.2f", chance) | |||
end | |||
end | end | ||
Ligne 71 : | Ligne 80 : | ||
end | end | ||
suffix = suffix .. | suffix = suffix .. formatChance(100 * itemChance) .. ' %' | ||
local itemPlayerLevel = item.level | local itemPlayerLevel = item.level |
modifications