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

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
 
Try adding the following to the attribute list of your item in `items.xml`;
Code:
<attribute key="elementFire" value="14" />
 
Back
Top