Name XM109 25x59mm Ammo
ShortName XM109Ammo
Model Bullet
//Colour of icon and model
Colour 255 255 255
ItemID 23808
Icon BarrettAmmo
//How affected by gravity the bullet is
FallSpeed 0.4
//The maximum stack size
MaxStackSize 3
//The number of rounds each item has. Limited to 32000.
RoundsPerItem 6
//The damage multiplier caused by the bullet on hitting an entity
DamageVsPlayers 210
DamageVsLiving 210
DamageVsVehicles 100
DamageVsPlanes 140
//Size of explosion caused
Explosion 1
ExplosionDamageVsLiving 210.0
ExplosionDamageVsPlane 15.0
//True if bullet explodes on hitting anything. Fuse denotes the maximum time it may spend in the air before detonating
ExplodeOnImpact False
Fuse 0
FlakParticles 6
FlakParticleType reddust
//Amount of fire to spread on exploding; for each increment, it will increase the dimensions of the burning area by 2. i.e. 1 will burn a 3x3 square, 2 will burn a 5x5 square
Fire 0
BreaksGlass True
//Size of box to check for entities to hit / detonate
HitBoxSize 0.4
HitSound HitmarkerSoundEffect
HitSoundRange 32
//The penetration power of this bullet. Anything > 1 will penetrate a player. Anything > 4 will penetrate a riot shield. 5 ~ Jeep, 10 ~ Light Tank, 20 ~ Medium Tank, 50 = Obsidian
//Each object penetrated detracts from the bullet's power and so the total damage it does should be constant
Penetration 25.0
SmokeTrail False
//Syntax is PotionEffect <ID> <Duration> <Amplifier>
//IDs are 	1:MoveSpeed		2:MoveSlowdown		3:DigSpeed			4:DigSlowdown		5:DamageBoost	6:Heal			7:Harm		8:Jump			9:Confusion		10:Regeneration
//			11:Resistance	12:FireResistance	13:WaterBreathing	14:Invisibility		15:Blindness	16:NightVision	17:Hunger	18:Weakness		19:Poison		20:Wither
PotionEffect 2 200 3
PotionEffect 9 120 4
PotionEffect 4 60 1
PotionEffect 17 200 1
PotionEffect 15 40 2
PotionEffect 18 300 4
Description 25x59mm ammunition for the XM109 AMR._Does 210dmg vs living, 140dmg planes, & 100 vs vehicles.