package Items
using RTDB, BaseStats, WeaponFxPackage

[ notQueryable ]
q304_tank_turret : Missile_Launcher
{
	fk< Attack >[] attacks = 
	[
		"Attacks.q304_tank_turret_missiles"
	];
	fk< AttachmentSlot >[] placementSlots = 
	[
		"AttachmentSlots.LeftShoulder", "AttachmentSlots.WeaponRight"
	];
	CName audioName = "wea_set_spec_launcher_delamain";
	statModifierGroups += 
	[
		"Items.Base_Missile_Launcher_RPG_Stats", "Items.q304_tank_turret_Technical_Stats"
	];
	fk< StatModifier >[] statModifiers += 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 1000f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitReactionFactor";
			modifierType = "Multiplier";
			value = 3.f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitWoundsFactor";
			modifierType = "Multiplier";
			value = 3.f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitDismembermentFactor";
			modifierType = "Multiplier";
			value = 5.f;
		} : ConstantStatModifier
	];
	enableNpcRPGData = true;
	npcRPGData = 
	{
		statModifierGroups += 
		[
			"Items.q304_tank_turret_Technical_Stats", "Items.Base_Missile_Launcher_RPG_Stats", {
				statModifiers = 
				[
					{
						statType = "BaseStats.DPS";
						modifierType = "Additive";
						value = 1000f;
					} : ConstantStatModifier, 
					{
						statType = "BaseStats.HitReactionFactor";
						modifierType = "Additive";
						value = 2.f;
					} : ConstantStatModifier, 
					{
						statType = "BaseStats.HitWoundsFactor";
						modifierType = "Additive";
						value = 3.0f;
					} : ConstantStatModifier, 
					{
						statType = "BaseStats.HitDismembermentFactor";
						modifierType = "Additive";
						value = 5.0f;
					} : ConstantStatModifier
				];
			} : StatModifierGroup
		];
	} : Base_NPC_RPG_Data;
}

q304_tank_turret_Technical_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.CanUseCloseRing";
			modifierType = "Additive";
			value = 1.f;
		} : ConstantStatModifier, 
		{
			value = 20.0f;
		} : NumShotsToFireModifier, 
		{
			value = 3.0f;
		} : CycleTimeModifier, 
		{
			value = 9999.f;
		} : MagazineCapacityModifier, 
		{
			value = 9999.f;
		} : ReloadAmountModifier, 
		{
			value = 1.f;
		} : ProjectilesPerShotModifier, 
		"BaseStats.ProjectilesPerShotCombinedModifier", {
			value = 50.f;
		} : EffectiveRangeModifier, 
		{
			value = 30.f;
		} : PhysicalImpulseModifier, 
		{
			value = 3.3f;
		} : ReloadTimeModifier, 
		"AttackModifier.HMGMinTBH", "AttackModifier.HMGMinLineOfSight", "AttackModifier.HMGDamageMultiplier"
	];
}

q304_tank_turret_Projectile_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.0f;
		} : SmartGunAddSpiralTrajectoryModifier, 
		{
			value = 0.1f;
		} : SmartGunSpiralRadiusModifier, 
		{
			value = 0.1f;
		} : SmartGunSpiralCycleTimeMinModifier, 
		{
			value = 0.25f;
		} : SmartGunSpiralCycleTimeMaxModifier, 
		{
			value = 0.0f;
		} : SmartGunSpiralRampDistanceStartModifier, 
		{
			value = 1.0f;
		} : SmartGunSpiralRampDistanceEndModifier, 
		{
			value = 0.5f;
		} : SmartGunSpiralRandomizeDirectionModifier, 
		{
			value = 1.0f;
		} : SmartGunHitProbabilityModifier, 
		{
			value = 0.05f;
		} : SmartGunMissDelayModifier, 
		{
			value = 2.5f;
		} : SmartGunMissRadiusModifier
	];
}

