otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.58k stars 1.05k forks source link

Items With Charges NPC Window. #4452

Closed br-it0 closed 4 months ago

br-it0 commented 1 year ago

Items with charges appears with charge "0", in npc window. Even if configured in the npc and sold with the correct charge, the charges appear as 0.

Oficial Tibia Client.

Release 1.4.2

Look

EPuncker commented 1 year ago

for anyone whiling to fix the issue, the missing getCharges part is here: https://github.com/Znote/forgottenserver/blob/2a75da720c3ebbfa27ae7cfe619456196d42f829/data/lib/core/item.lua#L423-L425