• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[LUA] Amulet of Loss Actionscript, mine not working.

Demnish

Tibian Hero
Joined
Sep 28, 2011
Messages
401
Solutions
2
Reaction score
63
Location
Sweden
Well I tried making this on my own but failed hard..

This is my script.
items/aol.lua
function onEquip(cid, item, slot)
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
return true
end

actions.xml
<action itemid="7889" event="script" value="items/aol.lua"/>


Well I guess it should be something like this, but it doesn't work.
Anyone have any better script? A solution for mine maybe?

Rep+ given for help.


Yours, Demnish.
 
Back
Top