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

Bow That use Arrows And Bolts

Test it and post if something goes wrong!

Code:
<item id="7438" article="a" name="elvish bow">	
                          <attribute key="weight" value="3100" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="weaponType" value="distance" />
		<attribute key="ammoType" value="arrow" />
                          <attribute key="ammoType" value="bolt" />
		<attribute key="range" value="6" />
		<attribute key="hitChance" value="5" />
	</item>
 
Use a weapon lua file and have it check your ammo slot's item onAttack, if it's a bolt, remove it and execute an attack equal to the strength of that bolt - same for arrows or whatever ammunition you want to use.
 
What's the point of being able to use two types of ammo on one distance weapon? If the issue is shortage of ammo, just have the conjure ammo spell create more ammo per cast.

And change it to use zero soul points....
 
Back
Top