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

I need to learn how to make spears/arrows/etc break

Alice Lovelin

New Member
Joined
Jul 14, 2018
Messages
26
Reaction score
0
I've used the search function and what I've seen is that I need to change a value in <attribute value= (…)> on the specific value of "breakChance", but that value isn't listed in my items.xml when I check spears and whatnot.

Do I just add another line? Do I need to change other files?

Using OTX version 3.6 . 807, which is based on TFS 1.2

Thanks in advance.
 
did you check weapons.xml?
Checked it, found a part where it says this:

XML:
 <!-- Ammunition --> <!-- PRA SER FINITA COLOCAR action="removecount" -->
 <distance id="1294"/> <!-- small stone -->
 <distance id="2111" /> <!-- snowball -->
 <distance id="2389" /> <!-- spear -->
 <distance id="2399" /> <!-- throwing star -->
 <distance id="2410" /> <!-- throwing knife -->
 <distance id="2543" /> <!-- bolt -->
 <distance id="2544" /> <!-- arrow -->
 <distance id="2545" script="poison_arrow.lua" /> <!-- poison arrow -->
 <distance id="2546" script="burst_arrow.lua" /> <!-- burst arrow -->
 <distance id="2547" unproperly="1" level="55" /> <!-- Power Bolt -->
 <distance id="3965" unproperly="1" level="20" /> <!-- Hunting Spear -->
 <distance id="6529" unproperly="1" level="110" /> <!-- Infernal Bolt -->
 <distance id="7363" unproperly="1" level="30" /> <!-- Piercing Bolt -->
 <distance id="7364" unproperly="1" level="20" /> <!-- Sniper Arrow -->
 <distance id="7365" unproperly="1" level="40" /> <!-- Onyx Arrow -->
 <distance id="7366" script="viper_star.lua" />
 <distance id="7367" unproperly="1" level="42" /> <!-- Enchanted Spear -->
 <distance id="7368" unproperly="1" level="80" /> <!-- Assassin Star -->
 <distance id="7378" unproperly="1" level="25" /> <!-- Royal Spear -->
 <distance id="7838" unproperly="1" level="20" /> <!-- Flash Arrow -->
 <distance id="7839" unproperly="1" level="20" /> <!-- Shiver Arrow -->
 <distance id="7840" unproperly="1" level="20" /> <!-- Flaming Arrow -->
 <distance id="7850" unproperly="1" level="20" /> <!-- Earth Arrow -->
 <distance id="15648" unproperly="1" level="30" /> <!-- Tarsal Arrow -->
 <distance id="15649" unproperly="1" level="40" /> <!-- Vortex Bolt -->
 <distance id="18303" /> <!-- crystal bolt -->
 <distance id="18304" unproperly="1" level="90" /> <!-- Crystalline Arrow -->
 <distance id="18435" unproperly="1" level="90" /> <!-- Prismatic Bolt -->
 <distance id="18436" unproperly="1" level="70" /> <!-- Drill Bolt -->
 <distance id="18437" unproperly="1" level="70" /> <!-- Envenomed Arrow -->
 <distance id="23529" unproperly="1" level="60" /> <!-- Glooth Spear -->
 <distance id="23839" unproperly="0" level="1" /> <!-- Simple Arrow -->
</weapons>

Basically in that part in all caps, it's saying in Portuguese
for it to be finite place action="removecount"
but where do I put that sentence?[/code]
 
Last edited:
So I just add the breakchance="value" beside ID and unproperly, without needing to change anything else? Ok, I'm gonna test that. Thanks.

Edit: It worked. I made the spears and other throwing weapons have breakchance and the arrows and bolts remove.
 
Last edited:
Back
Top