package KatanaAttacks
using RTDB, Attacks, AttackDirections

KatanaComboAttackAbstract : Slash
{
	attackSubtype = "AttackType.ComboAttack";
	float attackWindowOpen = 0.1f;
	float attackWindowClosed = 0.4f;
	float idleTransitionTime = 1.f;
	float blockTransitionTime = 0.5f;
	float attackEffectDelay = 0.14f;
	float attackEffectDuration = 0.06f;
	float cameraSpaceImpulse = -1.f;
	float impulseDelay = 0.f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	bool useAttackSlot = true;
	float startupDuration = 0.1f;
	float activeDuration = 0.167f;
	float recoverDuration = 0.6f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	bool incrementsCombo = true;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaComboAttack1 : KatanaComboAttackAbstract
{
	attackName = "MeleeComboAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.RightUpToLeftDown";
}

KatanaComboAttack2 : KatanaComboAttackAbstract
{
	attackName = "MeleeComboAttack1";
	float attackEffectDelay = 0.15f;
	float attackEffectDuration = 0.06f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.23f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	fk< StatModifier >[] statModifiers += 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Multiplier";
			value = 1.1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThermalDamage";
			modifierType = "Multiplier";
			value = 1.1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ChemicalDamage";
			modifierType = "Multiplier";
			value = 1.1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ElectricDamage";
			modifierType = "Multiplier";
			value = 1.1f;
		} : ConstantStatModifier
	];
	fk< AttackDirection > attackDirection = "AttackDirections.LeftToRight";
}

KatanaComboAttack3 : KatanaComboAttackAbstract
{
	attackName = "MeleeComboAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.RightDownToLeftUp";
}

KatanaComboAttack4 : KatanaComboAttackAbstract
{
	attackName = "MeleeComboAttack3";
	fk< AttackDirection > attackDirection = "AttackDirections.LeftDownToRightUp";
}

KatanaMountedComboAttackAbstract : KatanaComboAttackAbstract
{
	float attackEffectDelay = 0.125f;
	float attackEffectDuration = 0.2f;
	float idleTransitionTime = 0.75f;
	float startupDuration = -1.f;
	float activeDuration = -1.f;
	float recoverDuration = -1.f;
	float trailStartDelay = 0.125f;
	float trailStopDelay = 0.325f;
	hitReactionSeverityMin = 2;
	hitReactionSeverityMax = 3;
}

KatanaMountedComboAttack1 : KatanaMountedComboAttackAbstract
{
	attackName = "MeleeMountedComboAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedComboAttack2 : KatanaMountedComboAttackAbstract
{
	attackName = "MeleeMountedComboAttack1";
	float attackEffectDelay = 0.075f;
	float attackEffectDuration = 0.175f;
	float trailStartDelay = 0.075f;
	float trailStopDelay = 0.25f;
	float idleTransitionTime = 0.6f;
	fk< AttackDirection > attackDirection = "AttackDirections.MountedLeftToRightWide";
}

KatanaMountedComboAttack3 : KatanaMountedComboAttackAbstract
{
	attackName = "MeleeMountedComboAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedComboAttack4 : KatanaMountedComboAttackAbstract
{
	attackName = "MeleeMountedComboAttack3";
	float attackEffectDelay = 0.075f;
	float attackEffectDuration = 0.175f;
	float trailStartDelay = 0.075f;
	float trailStopDelay = 0.25f;
	float idleTransitionTime = 0.6f;
	fk< AttackDirection > attackDirection = "AttackDirections.MountedLeftToRightWide";
}

KatanaFinalAttackAbstract : Slash
{
	attackSubtype = "AttackType.FinalAttack";
	float attackWindowOpen = 0.5f;
	float attackWindowClosed = 0.7f;
	float idleTransitionTime = 1.0f;
	float blockTransitionTime = 0.6f;
	float attackEffectDelay = 0.21f;
	float attackEffectDuration = 0.06f;
	float cameraSpaceImpulse = 4.f;
	float impulseDelay = 0.f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.54f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	fk< StatModifier >[] statModifiers += 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Multiplier";
			value = 1.25f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThermalDamage";
			modifierType = "Multiplier";
			value = 1.25f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ChemicalDamage";
			modifierType = "Multiplier";
			value = 1.25f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ElectricDamage";
			modifierType = "Multiplier";
			value = 1.25f;
		} : ConstantStatModifier
	];
	bool useAttackSlot = true;
	float startupDuration = 0.2f;
	float activeDuration = 0.367f;
	float recoverDuration = 0.4f;
	bool incrementsCombo = true;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaFinalAttack1 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.RightDownToLeftUp";
}

KatanaFinalAttack2 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack1";
	fk< AttackDirection > attackDirection = "AttackDirections.RightDownToLeftUp";
}

KatanaFinalAttack3 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.RightDownToLeftUp";
}

KatanaFinalAttack4 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack3";
	fk< AttackDirection > attackDirection = "AttackDirections.RightUpToLeftDown";
}

KatanaFinalAttack5 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack4";
	fk< AttackDirection > attackDirection = "AttackDirections.RightUpToLeftDown";
}

KatanaFinalAttack6 : KatanaFinalAttackAbstract
{
	attackName = "MeleeFinalAttack5";
	fk< AttackDirection > attackDirection = "AttackDirections.RightUpToLeftDown";
}

KatanaMountedFinalAttackAbstract : KatanaFinalAttackAbstract
{
	float idleTransitionTime = 0.6f;
	float attackEffectDelay = 0.1f;
	float attackEffectDuration = 0.175f;
	float startupDuration = -1.f;
	float activeDuration = -1.f;
	float recoverDuration = -1.f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.275f;
	hitReactionSeverityMin = 2;
	hitReactionSeverityMax = 3;
}

KatanaMountedFinalAttack1 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedFinalAttack2 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack1";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedLeftToRightWide";
}

KatanaMountedFinalAttack3 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedFinalAttack4 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack3";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedLeftToRightWide";
}

KatanaMountedFinalAttack5 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack4";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedFinalAttack6 : KatanaMountedFinalAttackAbstract
{
	attackName = "MeleeMountedFinalAttack5";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaStrongAttackAbstract : StrongSlash
{
	float attackWindowOpen = 0.2f;
	float attackWindowClosed = 0.8f;
	float idleTransitionTime = 0.8f;
	float blockTransitionTime = 0.66f;
	float cameraSpaceImpulse = 4.f;
	float impulseDelay = 0.f;
	float attackEffectDelay = 0.25f;
	float attackEffectDuration = 0.06f;
	float startupDuration = 0.2f;
	float activeDuration = 0.367f;
	float recoverDuration = 0.4f;
	bool hasDeflectAnim = false;
	bool hasHitAnim = true;
	float trailStartDelay = 0.2f;
	float trailStopDelay = 0.5f;
	bool enableAdjustingPlayerPositionToTarget = true;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.92f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	bool incrementsCombo = true;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 2;
}

KatanaStrongAttack1 : KatanaStrongAttackAbstract
{
	attackName = "MeleeStrongAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.UpToDown";
}

KatanaStrongAttack2 : KatanaStrongAttackAbstract
{
	attackName = "MeleeStrongAttack1";
	fk< AttackDirection > attackDirection = "AttackDirections.UpToDown";
}

KatanaStrongAttack3 : KatanaStrongAttackAbstract
{
	attackName = "MeleeStrongAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.RightToLeft";
}

KatanaMountedStrongAttackAbstract : KatanaStrongAttackAbstract
{
	float idleTransitionTime = 0.6f;
	float attackEffectDelay = 0.1f;
	float attackEffectDuration = 0.15f;
	float startupDuration = -1.f;
	float activeDuration = -1.f;
	float recoverDuration = -1.f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.25f;
	bool enableAdjustingPlayerPositionToTarget = false;
	hitReactionSeverityMin = 2;
	hitReactionSeverityMax = 3;
}

KatanaMountedStrongAttack1 : KatanaMountedStrongAttackAbstract
{
	attackName = "MeleeMountedStrongAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaMountedStrongAttack2 : KatanaMountedStrongAttackAbstract
{
	attackName = "MeleeMountedStrongAttack1";
	float attackEffectDelay = 0.05f;
	float trailStartDelay = 0.05f;
	float trailStopDelay = 0.2f;
	float idleTransitionTime = 0.5f;
	fk< AttackDirection > attackDirection = "AttackDirections.MountedLeftToRightWide";
}

KatanaMountedStrongAttack3 : KatanaMountedStrongAttackAbstract
{
	attackName = "MeleeMountedStrongAttack2";
	fk< AttackDirection > attackDirection = "AttackDirections.MountedRightToLeftWide";
}

KatanaBlockAttack : Slash
{
	attackSubtype = "AttackType.BlockAttack";
	attackName = "MeleeBlockAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.LeftToRight";
	bool hasDeflectAnim = false;
	bool hasHitAnim = false;
	float attackWindowOpen = 0.2f;
	float attackWindowClosed = 0.9f;
	float idleTransitionTime = 1.0f;
	float blockTransitionTime = 0.66f;
	float attackEffectDelay = 0.15f;
	float attackEffectDuration = 0.06f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.15f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	fk< StatModifier >[] statModifiers += 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Multiplier";
			value = 0.75f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThermalDamage";
			modifierType = "Multiplier";
			value = 0.75f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ChemicalDamage";
			modifierType = "Multiplier";
			value = 0.75f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ElectricDamage";
			modifierType = "Multiplier";
			value = 0.75f;
		} : ConstantStatModifier
	];
	float forwardImpulse = -11.f;
	float upImpulse = 2.f;
	float impulseDelay = 0.3f;
	float startupDuration = 0.2f;
	float activeDuration = 0.367f;
	float recoverDuration = 0.467f;
	bool useAdjustmentInsteadOfImpulse = false;
	bool enableAdjustingPlayerPositionToTarget = false;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaSafeAttack : KatanaComboAttackAbstract
{
	attackSubtype = "AttackType.SafeAttack";
	attackName = "MeleeSafeAttack0";
	fk< AttackDirection > attackDirection = "AttackDirections.LeftToRight";
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	float startupDuration = 0.1f;
	float activeDuration = 0.3f;
	float recoverDuration = 0.667f;
	bool incrementsCombo = false;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaSprintAttack : Slash
{
	attackSubtype = "AttackType.SprintAttack";
	attackName = "MeleeSprintAttack0";
	float attackWindowOpen = 0.2f;
	float attackWindowClosed = 0.6f;
	float idleTransitionTime = 1.f;
	float blockTransitionTime = 0.7f;
	float forwardImpulse = 10.f;
	float impulseDelay = 0.1f;
	fk< AttackDirection > attackDirection = "AttackDirections.LeftToRight";
	float attackEffectDelay = 0.2f;
	float attackEffectDuration = 0.06f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.15f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.DashAttackStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	bool incrementsCombo = false;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaJumpAttack : Slash
{
	attackSubtype = "AttackType.JumpAttack";
	attackName = "MeleeJumpAttack0";
	float attackWindowOpen = 0.37f;
	float attackWindowClosed = 0.5f;
	float idleTransitionTime = 1.f;
	float blockTransitionTime = 0.8f;
	float cameraSpaceImpulse = -1.f;
	float impulseDelay = 0.f;
	fk< AttackDirection > attackDirection = "AttackDirections.UpToDown";
	float attackEffectDelay = 0.1f;
	float attackEffectDuration = 0.3f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.15f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	bool incrementsCombo = true;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 2;
}

KatanaCrouchAttack : Slash
{
	attackSubtype = "AttackType.CrouchAttack";
	attackName = "MeleeCrouchAttack0";
	float attackWindowOpen = 0.2f;
	float attackWindowClosed = 0.7f;
	float idleTransitionTime = 1.2f;
	float blockTransitionTime = 0.7f;
	float cameraSpaceImpulse = 4.f;
	float impulseDelay = 0.f;
	fk< AttackDirection > attackDirection = "AttackDirections.DownToUp";
	float attackEffectDelay = 0.15f;
	float attackEffectDuration = 0.06f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.15f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	bool incrementsCombo = false;
	float standUpDelay = 0.0666f;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 1;
}

KatanaEquipAttack : KatanaCrouchAttack
{
	attackSubtype = "AttackType.EquipAttack";
	attackName = "MeleeEquipAttack0";
	bool useAttackSlot = true;
	float attackWindowOpen = 0.37f;
	float attackWindowClosed = 0.5f;
	float idleTransitionTime = 1.f;
	float blockTransitionTime = 0.8f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	bool incrementsCombo = true;
	hitReactionSeverityMin = 0;
	hitReactionSeverityMax = 2;
}

KatanaDeflectAttack : Slash
{
	attackSubtype = "AttackType.DeflectAttack";
	attackName = "MeleeDeflectAttack0";
	float attackWindowOpen = 0.6f;
	float attackWindowClosed = 0.8f;
	float idleTransitionTime = 1.f;
	float blockTransitionTime = 0.8f;
	float cameraSpaceImpulse = 4.f;
	float impulseDelay = 0.1f;
	float trailStartDelay = 0.1f;
	float trailStopDelay = 0.4f;
	fk< AttackDirection > attackDirection = "AttackDirections.LeftToRight";
	float attackEffectDelay = 0.15f;
	float attackEffectDuration = 0.06f;
	staminaCost = 
	[
		{
			statType = "BaseStats.Stamina";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.BaseMeleeAttackStaminaCost";
			opSymbol = "*";
			value = 1.15f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Stamina";
			modifierType = "AdditiveMultiplier";
			refObject = "Player";
			refStat = "BaseStats.KatanaStaminaCostReduction";
			opSymbol = "*";
			value = -1f;
		} : CombinedStatModifier
	];
	hitReactionSeverityMin = 2;
	hitReactionSeverityMax = 2;
}

