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

[Help] Ammunition

160312

aesthetics
Joined
May 12, 2008
Messages
15
Reaction score
1
Location
Chile
I've got a problem with a 7.6 distro that has no Weapons.xml nor something to set if the ammunition can be limited or unlimited, so at the moment it is unlimited.

For example, bolts are infinite, arrows and burst arrows too but the ice rapier isn't.

Where do I change it? to limited?
 
In items.xml you can change the value to what you want

Code:
    <item id="2396" article="an" name="ice rapier">
        <attribute key="description" value="A deadly but fragile weapon."/>
        <attribute key="weight" value="1500"/>
        <attribute key="attack" value="60"/>
        <attribute key="defense" value="1"/>
        <attribute key="weaponType" value="sword"/>
        <attribute key="charges" value="1"/>
About unlimited ammo try to look inside your config.lua and see if you have something like this.

Code:
-- Remove ammunition
    -- If false, ammunition will not be removed when using distance weapons
    -- (or other weapons that use ammunition)
    RemoveAmmunition = true

    -- Remove rune charges
    -- This only applies to runes done using the default functions.
    -- Custom runes made using actions will not be affected.
    RemoveRuneCharges = true

    -- Remove weapon charges
    -- Set to false to disable charges disappearing from weapons on use
    RemoveWeaponCharges = true
Also like @Gall said, it would be easier to help you if you told us your distro.
 
Last edited:
The Distro I used is called "ExtremeOT" and it is in BR and there's no such configuration in config.lua :p

When I run the server it says "YurOts 0.9.4d"

:)
 
The Distro I used is called "ExtremeOT" and it is in BR and there's no such configuration in config.lua :p

When I run the server it says "YurOts 0.9.4d"

:)
It should look like this:
-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 100000
 
Back
Top