package Attacks
using RTDB

HerculesBulletPackage : RangedAttackPackage
{
	defaultFire = "Attacks.HerculesBulletFire";
	chargeFire = "Attacks.HerculesBulletFire";
}

HerculesBulletFire : RangedAttack
{
	playerAttack = "Attacks.HerculesProjectile";
	secondaryPlayerAttack = "Attacks.HerculesSmartBullet";
	playerTimeDilated = "Attacks.HerculesProjectile";
	secondaryPlayerTimeDilated = "Attacks.HerculesSmartBullet";
}

HerculesProjectile : Bullet_Projectile
{
	userDataPath = "Attacks.HerculesProjectile";
	attackType = "AttackType.Ranged";
	projectileTemplateName = "hercules_projectile";
	explosionAttack = "Attacks.HerculesHipBulletExplosion";
	hitFlags = 
	[
		"FriendlyFire"
	];
	fk< StatModifier >[] statModifiers += 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Multiplier";
			value = 0.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThermalDamage";
			modifierType = "Multiplier";
			value = 0.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ChemicalDamage";
			modifierType = "Multiplier";
			value = 0.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ElectricDamage";
			modifierType = "Multiplier";
			value = 0.5f;
		} : ConstantStatModifier
	];
	float hitCooldown = 0.1;
}

HerculesSmartBullet : Bullet_Projectile
{
	userDataPath = "Attacks.SmartBullet";
	projectileTemplateName = "hercules_smart_bullet_low";
	velocity = 0.0f;
}

