• 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!

Problem with stackable potions... +rep

Dagh

New Member
Joined
Nov 3, 2008
Messages
80
Reaction score
1
As the title says, I need to fix a problem that occurs when...

- A player uses a pot stacked by x100 (doesn't matter which) it says "Using one of 100 gmp..." but is doesnt uses only 1, it uses all of them.

And got the same problem with runes.

If some1 knows how to fix this I will appreciate it a lot :)
 
open actions/scripts/liquids/potions.lua
replace all:
doTransformItem(item.uid, potion.empty)

with:
doRemoveItem(item.uid,1)

takes like 2 seconds...
 
Back
Top