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

Windows Question about weapons charges TFS 1.1

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,529
Solutions
1
Reaction score
85
Location
Portugal
Hey, I'm using TFS 1.1 and today I was editing some stuff when I noticed weapon charges are not decaying, also theres nothing related to this in config.lua..

I wonder if any1 can help me fix this?
 
This can be fixed by using the attribute key action in weapons.xml.

e.g
Code:
<melee id="2396" action="removecharge" />
 
Since my question is along the same topic, I figured I would ask here. My enchanted weapons only have 1 charge. They decay like they should, but
00:38 You see an icy spike sword (Atk:20 physical + 4 ice, Def:21 +2) that has 1 charge left.
It weighs 50.00 oz.
Item ID: 7763
Decays to: 2383

Code:
    <item id="7763" article="an" name="icy spike sword">
        <attribute key="weight" value="5000" />
        <attribute key="defense" value="21" />
        <attribute key="attack" value="20" />
        <attribute key="weaponType" value="sword" />
        <attribute key="extradef" value="2" />
        <attribute key="elementIce" value="4" />
        <attribute key="charges" value="1000" />
        <attribute key="showcharges" value="1" />
        <attribute key="decayTo" value="2383" />
    </item>

I tried changing showcharges to 1000, but that didnt do anything either. I have tried looking in items.xml, weapons.xml, and nothing really pops out at me. I am using TFS 1.1 as well. After using the sword for 1 hit, it decays to a normal spike sword.
 
Back
Top