Items with charge and duration only disappear if duration is gone, this will be with charge infinite until duration is gone.
https://github.com/malucooo/Otxserver-New/commit/c47826d31315b6d4a65050153a732c43125246fb
Out of curiosity, why would an item ever have BOTH duration and charge, if duration is a kind of charge?
It does not really make sense but there is an item that works like that: http://tibia.wikia.com/wiki/Wand_of_Darkness
It makes really sense. The counter which ends first deletes the item.
If this fix works just fine then I can possibly sneak it in on another PR if I can think of or find something within my skill range, seems too small of a change to do 1 commit for.
Most helpful comment
It makes really sense. The counter which ends first deletes the item.