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

Upgrade distance item.

unicodem

New Member
Joined
Dec 18, 2011
Messages
48
Reaction score
1
Hi guys. I have big problem. ( I using TFS 0.3.6 )
because when I upgrade +1/2/3/4/5/6/etc... infinite distance weapon damage still same.


weapons.xml

<distance id="2389" event="function" value="default"/>


items.xml


<item id="2389" name="kunai">
<attribute key="attack" value="3"/>
<attribute key="weapontype" value="accuracy"/>
<attribute key="shoottype" value="energyball"/>
<attribute key="weight" value="10000"/>
<attribute key="range" value="5"/>
<attribute key="slottype" value="two-handed"/>
<attribute key="maxhitchance" value="100" />
<attribute key="hitchance" value="100" />
</item>
 
Use an item that is not stackable when you want to add attributes with a Lua script, added attributes on stackable items will be removed when you move them.
 
Back
Top