package Items
using RTDB, BaseStats

[ notQueryable ]
Base_Kyubi : Base_Power_Assault_Rifle
{
	buyPrice += 
	[
		"Price.Tsunami", "Price.MediumManufactureQuality"
	];
	sellPrice += 
	[
		"Price.Tsunami", "Price.MediumManufactureQuality"
	];
	displayName = "LocKey#80769";
	string friendlyName = "w_rifle_assault_militech_ajax";
	CName audioName = "wea_set_kyubi";
	localizedDescription = "LocKey#80770";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Kyubi";
	fk< ConstantStatModifier > price = 
	{
		statType = "BaseStats.Price";
		modifierType = "Additive";
		value = 15;
	} : ConstantStatModifier;
	fk< SlotItemPartListElement >[] slotPartList = 
	[
		{
			slot = "AttachmentSlots.Receiver";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__tsunami_kyubi__rcv1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Barrel";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__tsunami_kyubi__base1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Magazine";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__tsunami_kyubi__mag_std";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.MagazineEmpty";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__tsunami_kyubi__mag_stdr";
				}
			];
		}, 
		"Items.RiflePossibleScopesList", "Items.RangedWeaponPossibleMuzzleList", "Items.RiflePossibleMuzzleBrakeList"
	];
	CName[] tags += 
	[
		"Preload", "Weapon", "Rifle Assault", "T3_Inject_Weapon", "Kyubi"
	];
	fk< TriggerMode >[] triggerModes = 
	[
		"TriggerMode.SemiAuto"
	];
	fk< TriggerMode > primaryTriggerMode = "TriggerMode.SemiAuto";
	fk< ItemCategory > itemCategory = "ItemCategory.Weapon";
	fk< ItemType > itemType = "ItemType.Wea_Rifle";
	fk< Item > ammo = "Ammo.RifleAmmo";
	fk< Crosshair > crosshair = "Crosshairs.Basic";
	enableNpcRPGData = true;
	npcRPGData = 
	{
		statModifierGroups += 
		[
		];
	} : Base_Kyubi_NPC_Data;
	statModifierGroups += 
	[
		"Items.Base_Kyubi_Technical_Stats", "Items.Base_Kyubi_Handling_Stats", "Items.Base_Kyubi_Recoil_Stats", "Items.Base_Kyubi_Spread_Stats", "Items.Base_Kyubi_Aim_Stats", "Items.Base_Kyubi_Constant_Stats", "Items.Base_Kyubi_Damage_Stats"
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		"EquipmentGLP.MediumStaminaRegen", "EquipmentGLP.MediumStaminaDelay"
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.PowerRifleAssault";
	baseReloadTime = 1.75f;
	baseEmptyReloadTime = 2.0f;
	uninterruptibleReloadStart = 0.5f;
	uninterruptibleEmptyReloadStart = 0.5f;
	float weaponNearPlane = 12.0f;
	float weaponFarPlane = 60.5f;
	float weaponEdgesSharpness = 0.4958f;
	float weaponVignetteIntensity = 0.1357f;
	float weaponVignetteRadius = 0.0f;
	float weaponVignetteCircular = 0.0f;
	float weaponBlurIntensity = 1.0f;
	float weaponNearPlane_aim = 40.04f;
	float weaponFarPlane_aim = 100.7f;
	float weaponEdgesSharpness_aim = 0.4958f;
	float weaponVignetteIntensity_aim = 0.1357f;
	float weaponVignetteRadius_aim = 0.6814f;
	float weaponVignetteCircular_aim = 0.1745f;
	float weaponBlurIntensity_aim = 1.f;
}

Base_Kyubi_NPC_Data : Base_Power_Assault_Rifle_NPC_Data
{
	statModifierGroups += 
	[
		"Items.Base_Kyubi_Technical_Stats", "Items.Base_Kyubi_NPC_Damage_Stats"
	];
}

Base_Kyubi_Technical_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.f;
		} : NumShotsToFireModifier, 
		{
			value = 0.2f;
		} : CycleTimeModifier, 
		{
			value = 20.f;
		} : MagazineCapacityModifier, 
		{
			value = 1.f;
		} : ProjectilesPerShotModifier, 
		"BaseStats.ProjectilesPerShotCombinedModifier"
	];
}

Base_Kyubi_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 55f;
		} : ConstantStatModifier
	];
}

Base_Kyubi_NPC_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 35f;
		} : ConstantStatModifier
	];
}

Base_Kyubi_Handling_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.75f;
		} : ReloadTimeModifier, 
		{
			value = 2.0f;
		} : EmptyReloadTimeModifier, 
		{
			value = 0.4f;
		} : ReloadEndTimeModifier, 
		{
			value = 1.2f;
		} : EmptyReloadEndTimeModifier, 
		{
			value = 1.5f;
		} : ZoomLevelModifier, 
		{
			value = 2.6f;
		} : EquipDuration_FirstModifier
	];
}

Base_Kyubi_Recoil_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 10.0f;
		} : RecoilDirModifier, 
		{
			value = 35.0f;
		} : RecoilAngleModifier, 
		{
			value = 0.1f;
		} : RecoilHoldDurationModifier, 
		{
			value = 0.05f;
		} : RecoilTimeModifier, 
		{
			value = 0.35f;
		} : RecoilRecoveryTimeModifier, 
		{
			value = 1.0f;
		} : RecoilEnableLinearXModifier, 
		{
			value = 1.0f;
		} : RecoilEnableLinearYModifier, 
		{
			value = 1.0f;
		} : RecoilEnableLinearXADSModifier, 
		{
			value = 1.0f;
		} : RecoilEnableLinearYADSModifier
	];
}

Base_Kyubi_Spread_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 0.2f;
		} : SpreadMinXModifier, 
		{
			value = 0.125f;
		} : SpreadMinYModifier, 
		{
			value = 0.f;
		} : SpreadAdsMinXModifier, 
		{
			value = 0.f;
		} : SpreadAdsMinYModifier, 
		{
			value = 1.f;
		} : SpreadUseInAdsModifier, 
		{
			value = 1.5f;
		} : SpreadResetSpeedModifier, 
		{
			value = 0.25f;
		} : SpreadResetTimeThresholdModifier, 
		{
			value = 0.f;
		} : SpreadRandomizeOriginPointModifier, 
		{
			value = 1.f;
		} : SpreadUseCircularSpreadModifier
	];
}

Base_Kyubi_Aim_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.AimFOV";
			modifierType = "Additive";
			value = 22;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AimOffset";
			modifierType = "Additive";
			value = -0.0f;
		} : ConstantStatModifier
	];
}

Base_Kyubi_Constant_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.SpreadDefaultX";
			modifierType = "Additive";
			value = 1.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsDefaultX";
			modifierType = "Additive";
			value = 0.1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadMaxX";
			modifierType = "Additive";
			value = 4.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsMaxX";
			modifierType = "Additive";
			value = 0.4f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadChangePerShot";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsChangePerShot";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HeadshotDamageMultiplier";
			modifierType = "Additive";
			value = 0.25f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.RecoilKickMin";
			modifierType = "Additive";
			value = 1.2f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.RecoilKickMax";
			modifierType = "Additive";
			value = 1.4f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.KnockdownImpulse";
			modifierType = "Additive";
			value = 5.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.EffectiveRange";
			modifierType = "Multiplier";
			value = 1.1428;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.FirePower";
			modifierType = "Multiplier";
			value = 1.474f;
		} : ConstantStatModifier, 
		"AttackModifier.WeaponArmorPenetrationLow", {
			statType = "BaseStats.ZoomLevel";
			modifierType = "Additive";
			value = 0.3f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ZoomLevel";
			modifierType = "Additive";
			refStat = "BaseStats.Quality";
			opSymbol = "*";
			value = 0.05f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.EffectiveRange";
			modifierType = "AdditiveMultiplier";
			value = 0.1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.EffectiveRange";
			modifierType = "AdditiveMultiplier";
			refStat = "BaseStats.Quality";
			opSymbol = "*";
			value = 0.025f;
		} : CombinedStatModifier
	];
}

w_rifle_assault__tsunami_kyubi__rcv1 : WeaponRifleReceiverBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__tsunami_kyubi__rcv1_01";
}

w_rifle_assault__tsunami_kyubi__base1 : WeaponRifleBarrelBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__tsunami_kyubi__base1_01";
}

w_rifle_assault__tsunami_kyubi__mag_std : WeaponMagazineBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__tsunami_kyubi__mag_std_01";
}

w_rifle_assault__tsunami_kyubi__mag_stdr : WeaponMagazineBaseEmpty
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__tsunami_kyubi__mag_stdr_01";
}

