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

removecharge on distance weapon

guiismiti

Well-Known Member
Joined
May 19, 2014
Messages
315
Solutions
3
Reaction score
68
Hi,

I am editing a bow.
I have added "removecharge" in weapons.xml and "charges", "showcharges" and "decayTo" in items.xml.
Does removecharge only work for melee weapons? Is it possible to use something similar for a bow? (it can't be ammo in my case).

Thanks in advance.
 
I am editing a bow.
I have added "removecharge" in weapons.xml and "charges", "showcharges" and "decayTo" in items.xml.
Does removecharge only work for melee weapons? Is it possible to use something similar for a bow? (it can't be ammo in my case).

the problem is that bow/crossbows is not treated as a weapon in server, at least attribute are there, you can do something similar but you will need a lua script.
 
Back
Top