parent
2ed7770259
commit
234c17cfe4
|
@ -200,7 +200,7 @@ function this.ItemAdapter(node, data)
|
|||
if addValue - 1 <= 0 then
|
||||
txt.text = baseValue
|
||||
else
|
||||
local valueShow = (addValue - 1) * data[2]
|
||||
local valueShow = math.round((addValue - 1) * data[2])
|
||||
txt.text = string.format("%s\n<color=#00FF00>(+%s)</color>",baseValue,valueShow)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -605,7 +605,7 @@ function this.IntiReward()
|
|||
if addValue - 1 <= 0 then
|
||||
this.rewardList[i].text.text = "+"..rewardData[i][2]
|
||||
else
|
||||
local valueShow = (addValue - 1) * baseValue
|
||||
local valueShow = math.round((addValue - 1) * baseValue)
|
||||
this.rewardList[i].text.text = string.format("+%s\n<color=#00FF00>(+%s)</color>",baseValue,valueShow)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue