package Items
using RTDB, BaseStats

[ notQueryable ]
Base_Two_Hand_Blunt : Base_Blunt
{
	fk< ItemType > itemType = "ItemType.Wea_TwoHandedClub";
	triggerEffectName = "te_wea_melee_swing_heavy";
	displayName = "LocKey#51231";
	localizedDescription = "LocKey#51231";
	string friendlyName = "w_two_hand_blunt";
	CName audioName = "w_melee_001_katana";
	fk< ConstantStatModifier > price = 
	{
		statType = "BaseStats.Price";
		modifierType = "Additive";
		value = 2;
	} : ConstantStatModifier;
	tags += 
	[
		"Two Hand Club", "FinisherFront", "FinisherBack", "DriverCombatBikeWeapon"
	];
	fk< AttachmentSlot >[] placementSlots += 
	[
		"AttachmentSlots.ItemSlotSMG"
	];
	fk< SlotItemPartListElement >[] slotPartList = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_baseball_bat_common_grip";
				}
			];
		}
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.QuickMeleeFxPackage";
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Base_Two_Hand_Blunt_RPG_Stats", "Items.Base_Two_Hand_Blunt_Handling_Stats", "Items.Base_Two_Hand_Blunt_Misc_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
	fk< Attack >[] attacks += 
	[
		"TwoHandBluntAttacks.TwoHandBluntComboAttack1", "TwoHandBluntAttacks.TwoHandBluntComboAttack2", "TwoHandBluntAttacks.TwoHandBluntMountedComboAttack1", "TwoHandBluntAttacks.TwoHandBluntMountedComboAttack2", "TwoHandBluntAttacks.TwoHandBluntFinalAttack3", "TwoHandBluntAttacks.TwoHandBluntStrongAttack1", "TwoHandBluntAttacks.TwoHandBluntStrongAttack2", "TwoHandBluntAttacks.TwoHandBluntMountedFinalAttack3", "TwoHandBluntAttacks.TwoHandBluntMountedStrongAttack1", "TwoHandBluntAttacks.TwoHandBluntMountedStrongAttack2", "TwoHandBluntAttacks.TwoHandBluntJumpAttack", "TwoHandBluntAttacks.TwoHandBluntSprintAttack", "TwoHandBluntAttacks.TwoHandBluntBlockAttack", "TwoHandBluntAttacks.TwoHandBluntCrouchAttack", "TwoHandBluntAttacks.TwoHandBluntDeflectAttack", "TwoHandBluntAttacks.TwoHandBluntBodySlamLevel1Attack", "TwoHandBluntAttacks.TwoHandBluntBodySlamLevel2Attack", "TwoHandBluntAttacks.TwoHandBluntBodySlamLevel3Attack", "TwoHandBluntAttacks.TwoHandBluntGroundSlamAttack"
	];
	enableNpcRPGData = true;
	audioWeaponConfiguration = "audio_melee_metadata_baseballbat";
	npcRPGData = 
	{
		statModifierGroups += 
		[
		];
	} : Base_Two_Hand_Blunt_NPC_Data;
}

Base_Two_Hand_Blunt_RPG_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 5.7f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.BlockFactor";
			modifierType = "Additive";
			value = 5f;
		} : ConstantStatModifier, 
		"AttackModifier.WeaponArmorPenetrationLow"
	];
}

Base_Two_Hand_Blunt_Handling_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Range";
			modifierType = "Additive";
			value = 2.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AttacksNumber";
			modifierType = "Additive";
			value = 3;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.MeleeAttackDuration";
			modifierType = "Additive";
			value = 0.4f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.MeleeAttackComboDuration";
			modifierType = "Additive";
			value = 0.835f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitDismembermentFactor";
			modifierType = "Multiplier";
			value = 1.f;
		} : ConstantStatModifier, 
		{
			float value = 15.f;
		} : PhysicalImpulseModifier, 
		{
			float value = 30.f;
		} : KnockdownImpulseModifier, 
		{
			float value = 30.f;
		} : BaseKnockdownImpulseModifier, 
		{
			float value = 30.f;
		} : BaseEvadeImpulseModifier, 
		{
			statType = "BaseStats.StaminaCostToBlock";
			modifierType = "Multiplier";
			value = 1.515f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.BaseMeleeAttackStaminaCost";
			modifierType = "Additive";
			value = 15f;
		} : ConstantStatModifier
	];
}

Base_Two_Hand_Blunt_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
	];
}

Base_Two_Hand_Blunt_NPC_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.Range";
			modifierType = "Additive";
			value = 1.5f;
		} : ConstantStatModifier, 
		{
			value = 15.f;
		} : PhysicalImpulseModifier, 
		{
			statType = "BaseStats.CanParry";
			modifierType = "Multiplier";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.CanBlock";
			modifierType = "Multiplier";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.StaminaCostToBlock";
			modifierType = "Additive";
			value = 25.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HitDismembermentFactor";
			modifierType = "Multiplier";
			value = 0.f;
		} : 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 = 15.f;
		} : PhysicalImpulseModifier, 
		{
			float value = 30.f;
		} : KnockdownImpulseModifier, 
		{
			float value = 30.f;
		} : BaseKnockdownImpulseModifier, 
		{
			float value = 30.f;
		} : BaseEvadeImpulseModifier, 
		{
			value = 0.467f;
		} : EquipItemTime_GangModifier, 
		{
			value = 1.0f;
		} : EquipAnimationDuration_GangModifier, 
		{
			value = 1.533f;
		} : EquipActionDuration_GangModifier, 
		{
			value = 0.967f;
		} : UnequipItemTime_GangModifier, 
		{
			value = 1.467f;
		} : UnequipAnimationDuration_GangModifier, 
		{
			value = 1.667f;
		} : UnequipDuration_GangModifier, 
		{
			value = 0.467f;
		} : EquipItemTime_CorpoModifier, 
		{
			value = 1.0f;
		} : EquipAnimationDuration_CorpoModifier, 
		{
			value = 1.533f;
		} : EquipActionDuration_CorpoModifier, 
		{
			value = 0.967f;
		} : UnequipItemTime_CorpoModifier, 
		{
			value = 1.467f;
		} : UnequipAnimationDuration_CorpoModifier, 
		{
			value = 1.667f;
		} : UnequipDuration_CorpoModifier
	];
}

Base_Two_Hand_Blunt_NPC_Data : Base_Blunt_NPC_RPG_Data
{
	statModifierGroups += 
	[
		"Items.Base_Two_Hand_Blunt_NPC_Stats"
	];
}

[ notQueryable ]
w_melee_008__baseball_bat : Preset_Baseball_Bat_Default
{
}

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

