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

Lua Arrow Damage

Misokoko

New Member
Joined
Mar 29, 2013
Messages
126
Reaction score
0
i made arrow but it doesn't do any damage on monsters maybe most of them
in weapons.xml
LUA:
<distance id="7840" type="fire" event="function" value="default"/>
items.xml
LUA:
    <item id="7840" article="a" name="Super Arrow" plural="Super Arrows">
        <attribute key="weight" value="70" />
        <attribute key="slotType" value="ammo" />
        <attribute key="attack" value="220" />
        <attribute key="maxHitChance" value="90" />
        <attribute key="weaponType" value="ammunition" />
        <attribute key="ammoType" value="arrow" />
        <attribute key="shootType" value="flammingarrow" />
    </item>
iam using tfs .04
 
Back
Top