package Items
using RTDB, BaseStats, Prereqs, Perks

[ notQueryable ]
Base_Axe : Base_Throwable
{
	fk< ItemType > itemType = "ItemType.Wea_Axe";
	triggerEffectName = "te_wea_melee_swing_mid";
	string friendlyName = "w_melee_one_hand_blunt";
	CName audioName = "w_melee_001_katana";
	fk< ConstantStatModifier > price = 
	{
		statType = "BaseStats.Price";
		modifierType = "Additive";
		value = 2;
	} : ConstantStatModifier;
	fk< AttachmentSlot >[] placementSlots += 
	[
		"AttachmentSlots.ItemSlotSMG"
	];
	fk< SlotItemPartListElement >[] slotPartList = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_tomahawk_common_grip";
				}, 
				{
					item = "Items.w_machete_common_grip";
				}
			];
		}
	];
	tags += 
	[
		"One Hand Blade", "AxeFinisher", "FinisherFront", "FinisherBack", "Throwable", "DriverCombatBikeWeapon"
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.KatanaFxPackage";
	fk< Crosshair > crosshair = "Crosshairs.Melee_Knife";
	CName projectileTemplateName = "axe";
	bool useProjectileAppearance = false;
	float projectileSmartTargetingAngle = 18;
	float projectileSmartTargetingDistance = 15;
	CName effectiveRangeFalloffCurve = "StandardFalloff";
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Base_Axe_RPG_Stats", "Items.Base_Axe_Handling_Stats", "Items.Base_Axe_Misc_Stats", "Proficiencies.Weapon_CoolSkill_Passives", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
	fk< StatPool >[] statPools += 
	[
		"BaseStatPools.ThrowRecovery"
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		"Items.AxeWeaponStealthBonus"
	];
	fk< Attack >[] attacks += 
	[
		"AxeAttacks.AxeComboAttack1", "AxeAttacks.AxeComboAttack2", "AxeAttacks.AxeComboAttack3", "AxeAttacks.AxeComboAttack4", "AxeAttacks.AxeMountedComboAttack1", "AxeAttacks.AxeMountedComboAttack2", "AxeAttacks.AxeMountedComboAttack3", "AxeAttacks.AxeMountedComboAttack4", "AxeAttacks.AxeFinalAttack1", "AxeAttacks.AxeFinalAttack2", "AxeAttacks.AxeFinalAttack3", "AxeAttacks.AxeMountedFinalAttack1", "AxeAttacks.AxeMountedFinalAttack2", "AxeAttacks.AxeMountedFinalAttack3", "AxeAttacks.AxeStrongAttack1", "AxeAttacks.AxeStrongAttack2", "AxeAttacks.AxeStrongAttack3", "AxeAttacks.AxeMountedStrongAttack1", "AxeAttacks.AxeMountedStrongAttack2", "AxeAttacks.AxeMountedStrongAttack3", "AxeAttacks.AxeJumpAttack1", "AxeAttacks.AxeCrouchAttack", "AxeAttacks.AxeSprintAttack", "AxeAttacks.AxeSafeAttack", "AxeAttacks.AxeBlockAttack", "AxeAttacks.AxeDeflectAttack", "AxeAttacks.AxeThrowAttack", "AxeAttacks.AxeThrowAttackProjectile", "AxeAttacks.FangedAxeThrowAttackProjectile", "AxeAttacks.VBAxeThrowAttackProjectile"
	];
	enableNpcRPGData = true;
	npcRPGData = 
	{
		statModifierGroups += 
		[
		];
	} : Base_Axe_NPC_Data;
}

Base_Axe_RPG_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 3.2f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.BlockFactor";
			modifierType = "Additive";
			value = 2.7f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HeadshotDamageMultiplier";
			modifierType = "Additive";
			value = 1.25f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThrowRecovery";
			modifierType = "Additive";
			value = 3f;
		} : ConstantStatModifier, 
		"AttackModifier.WeaponArmorPenetrationLow"
	];
}

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

Base_Axe_Handling_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Range";
			modifierType = "Additive";
			value = 2.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AttacksNumber";
			modifierType = "Additive";
			value = 3;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.MeleeAttackDuration";
			modifierType = "Additive";
			value = 0.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.MeleeAttackComboDuration";
			modifierType = "Additive";
			value = 0.45f;
		} : ConstantStatModifier, 
		{
			float value = 12.f;
		} : KnockdownImpulseModifier, 
		{
			float value = 12.f;
		} : BaseKnockdownImpulseModifier, 
		{
			float value = 12.f;
		} : BaseEvadeImpulseModifier, 
		{
			float value = 4.f;
		} : PhysicalImpulseModifier, 
		{
			statType = "BaseStats.StaminaCostToBlock";
			modifierType = "Multiplier";
			value = 1.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.BaseMeleeAttackStaminaCost";
			modifierType = "Additive";
			value = 10f;
		} : ConstantStatModifier
	];
}

Borg_Axe_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 1.3f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AttackSpeed";
			modifierType = "Multiplier";
			value = 0.85f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.DamagePerHit";
			modifierType = "Multiplier";
			value = 1.1765f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitWoundsFactor";
			modifierType = "Multiplier";
			value = 1.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitDismembermentFactor";
			modifierType = "Multiplier";
			value = 3.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThrowRecovery";
			modifierType = "Additive";
			value = 1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.BaseMeleeAttackStaminaCost";
			modifierType = "Additive";
			value = 2.0f;
		} : ConstantStatModifier
	];
}

Base_Axe_Misc_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		"BaseStats.EquipDurationModifier", "BaseStats.UnequipDurationModifier", {
			statType = "BaseStats.ZoomLevel";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.EquipDuration_First";
			modifierType = "Additive";
			value = 0.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HasMeleeTargeting";
			modifierType = "Additive";
			value = 1;
		} : ConstantStatModifier, 
		{
			value = 15.f;
		} : EffectiveRangeModifier
	];
}

Base_Axe_NPC_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.Range";
			modifierType = "Additive";
			value = 1.5f;
		} : ConstantStatModifier, 
		{
			value = 8.f;
		} : PhysicalImpulseModifier, 
		{
			statType = "BaseStats.CanBlock";
			modifierType = "Multiplier";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.StaminaCostToBlock";
			modifierType = "Additive";
			value = 20f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitReactionFactor";
			modifierType = "Additive";
			value = 2.f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitWoundsFactor";
			modifierType = "Additive";
			value = 1;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitDismembermentFactor";
			modifierType = "Additive";
			value = 1;
		} : ConstantStatModifier, 
		{
			float value = 12.f;
		} : KnockdownImpulseModifier, 
		{
			float value = 12.f;
		} : BaseKnockdownImpulseModifier, 
		{
			float value = 12.f;
		} : BaseEvadeImpulseModifier, 
		{
			float value = 8.f;
		} : PhysicalImpulseModifier, 
		{
			value = 0.4f;
		} : EquipItemTime_GangModifier, 
		{
			value = 1.167f;
		} : EquipAnimationDuration_GangModifier, 
		{
			value = 1.9f;
		} : EquipActionDuration_GangModifier, 
		{
			value = 0.933f;
		} : UnequipItemTime_GangModifier, 
		{
			value = 1.067f;
		} : UnequipAnimationDuration_GangModifier, 
		{
			value = 1.4f;
		} : UnequipDuration_GangModifier, 
		{
			value = 0.4f;
		} : EquipItemTime_CorpoModifier, 
		{
			value = 1.167f;
		} : EquipAnimationDuration_CorpoModifier, 
		{
			value = 1.9f;
		} : EquipActionDuration_CorpoModifier, 
		{
			value = 0.933f;
		} : UnequipItemTime_CorpoModifier, 
		{
			value = 1.067f;
		} : UnequipAnimationDuration_CorpoModifier, 
		{
			value = 1.4f;
		} : UnequipDuration_CorpoModifier
	];
}

Base_Axe_NPC_Data : Base_Throwable_NPC_RPG_Data
{
	statModifierGroups += 
	[
		"Items.Base_Axe_NPC_Stats", "Items.Base_Axe_NPC_Damage_Stats"
	];
}

w_tomahawk_common_grip : ItemWeaponRoot
{
	string friendlyName = "w_tomahawk_common_grip";
	CName appearanceResourceName = "w_tomahawk_common_grip";
}

