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

removecharge on distance weapon

guiismiti

Well-Known Member
Joined
May 19, 2014
Messages
313
Solutions
3
Reaction score
67
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