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

How can I make assassins star not infinite but other amout yes?

gerard95

Keep cool :)
Joined
Dec 31, 2011
Messages
276
Reaction score
16
Hey guys,

How can I make assassins star not infinite but other amout yes?

Thanks!:)
 
I guess you can just edit break chance in items.xml in other ammos.
<attribute key="breakChance" value="0" />
But i bet there is a more simple solution.
 
<attribute key="breakChance" value="50" />

Now it's 50% breakchance, just simply add that to items.xml and the value to whatever you want to have.
 
<attribute key="breakChance" value="50" />

Now it's 50% breakchance, just simply add that to items.xml and the value to whatever you want to have.

but is this right?: <attribute key="ammoAction" value="moveback" />

- - - Updated - - -

Then they are not going to be infinited. You need to express yourself better next time. I understood that you want to have infinited ammo except for Assassin Stars.

Ye, thats exactly what I want LOL xD
 
This is an example
Code:
	<item id="7368" article="an" name="assassin star" plural="assassin stars">
		<attribute key="weight" value="200"/>
		<attribute key="attack" value="65"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="shootType" value="redstar"/>
		<attribute key="range" value="4"/>
		<attribute key="breakChance" value="[COLOR="#FF0000"]33[/COLOR]"/>
		<attribute key="ammoAction" value="moveback"/>
	</item>
Edit the numbers in red to whatever you want to, and they will break.

You can also check my other solutions I gave you on the PM you gave me.
 
Back
Top