From 248cdb1fe14736c68148176e65c0160c0acbe2e9 Mon Sep 17 00:00:00 2001 From: Elson Costa Date: Fri, 21 Jun 2024 14:51:21 -0300 Subject: [PATCH] fixes. --- data-otservbr-global/scripts/globalevents/vip/online_coins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-otservbr-global/scripts/globalevents/vip/online_coins.lua b/data-otservbr-global/scripts/globalevents/vip/online_coins.lua index e75f23bde7a..af25471ee28 100644 --- a/data-otservbr-global/scripts/globalevents/vip/online_coins.lua +++ b/data-otservbr-global/scripts/globalevents/vip/online_coins.lua @@ -43,7 +43,7 @@ function onlineCoinsEvent.onThink(interval) player:setStorageValue(config.storage, coins * 10000000) if coins >= config.awardOn then local coinsMath = math.floor(coins) - player:addTibiaCoins(coinsMath, false) + player:addTibiaCoins(coinsMath) player:sendTextMessage(MESSAGE_STATUS_SMALL, string.format("Congratulations %s!\z You have received %d %s for being online.", player:getName(), coinsMath, "tibia coins")) player:setStorageValue(config.storage, (coins - coinsMath) * 10000000) end