I have TFS 0.3.6.
Because on Tibia 8.54 you don't have stackable potions, I wanted to make charges.
I found the following potions script:
http://otland.net/f132/potion-charges-139406/index2.html#post1347175
That script works fine, but I want to add more weight to potions with more then one charge.
I tried the following:
But it seems that a change of weight doesn't exist? Or am I using the function the wrong way? No error appears in my console, but also the item weight isn't changed.
I searched on this forum but couldn't find the answer.
Hope someone will answer my question here...
I have another question about potion with charges: http://otland.net/f16/talkaction-fix-potions-potion-charges-147384/
Because on Tibia 8.54 you don't have stackable potions, I wanted to make charges.
I found the following potions script:
http://otland.net/f132/potion-charges-139406/index2.html#post1347175
That script works fine, but I want to add more weight to potions with more then one charge.
I tried the following:
Lua:
doItemSetAttribute(item, 'weight', value) --value being a number
doItemSetAttribute(item, 'cap', value)
I searched on this forum but couldn't find the answer.
Hope someone will answer my question here...
I have another question about potion with charges: http://otland.net/f16/talkaction-fix-potions-potion-charges-147384/
Last edited: