package BaseStatusEffect
using RTDB, Effectors

IncreaseSmartTargetingDisruptionProbability : StatusEffect
{
	fk< StatModifierGroup > duration = 
	{
		statModifiers = 
		[
			{
				statType = "BaseStats.MaxDuration";
				modifierType = "Additive";
				value = 7;
			} : ConstantStatModifier
		];
	};
	fk< GameplayLogicPackage >[] packages = 
	[
		{
			fk< StatModifier >[] stats = 
			[
				{
					statType = "BaseStats.SmartTargetingDisruptionProbability";
					modifierType = "Additive";
					value = 0.9f;
				} : ConstantStatModifier
			];
		} : GameplayLogicPackage
	];
}

DecreaseSmartWeaponHitProbability : StatusEffect
{
	fk< StatModifierGroup > duration = 
	{
		statModifiers = 
		[
			{
				statType = "BaseStats.MaxDuration";
				modifierType = "Additive";
				value = 7;
			} : ConstantStatModifier
		];
	};
	fk< GameplayLogicPackage >[] packages = 
	[
		{
			fk< StatModifier >[] stats = 
			[
				{
					statType = "BaseStats.SmartGunHitProbabilityMultiplier";
					modifierType = "Additive";
					value = -0.9f;
				} : ConstantStatModifier
			];
		} : GameplayLogicPackage
	];
}

