• 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 Ammo question

Dexftw

Total Boss
Joined
Jan 30, 2011
Messages
317
Reaction score
8
Hey, I wanted to know how to make it so throwing knifes and spears wont run out, but assasin stars will.
 
Code:
	<item id="2389" article="a" name="spear" plural="spears">
		<attribute key="weight" value="2000"/>
		<attribute key="attack" value="25"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="shootType" value="spear"/>
		<attribute key="range" value="5"/>
		[COLOR="#FF0000"]<attribute key="breakChance" value="1"/>[/COLOR]
		<attribute key="ammoAction" value="moveback"/>
	</item>

Change red line
<attribute key="breakChance" value="1"/>

to


<attribute key="breakChance" value="0"/>
 
Back
Top