• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Bug NPC trade TFS 1.4.2

GOD Cah

New Member
Joined
Jan 7, 2016
Messages
10
Reaction score
4
Hello guys, does anyone know the reason why when we look at an item with charges, even if configured in the npc and sold with the correct charge, the charges appear as 0?

Oficial Tibia Client.

Look.PNG
 
try changing this to this:

Lua:
            if it:hasShowCharges() then
                local charges = it:getCharges()
                ss:append(" that has %d charge%s left", charges, (charges ~= 1 and "s" or ""))
            end
 
Back
Top