Remove weapon effect zone handles

This commit is contained in:
Meta Vens 2026-06-21 19:06:39 +01:00
commit f02a73269f
5 changed files with 27 additions and 6 deletions

View file

@ -8,8 +8,6 @@ public class HitscanEffect : MonoBehaviour
public ParticleSystem LineEffect;
public Prototype HitEffect;
public Zone Zone { get; set; }
public float Damage { get; set; }
public float Penetration { get; set; }
public float Spread { get; set; }

View file

@ -20,7 +20,6 @@ public class HitscanManager : InstantWeaponEffectManager
p.Penetration = weapon.Penetration;
p.Spread = weapon.DamageSpread;
p.DamageType = weapon.DamageType;
p.Zone = source.Entity.Zone;
p.Fire();
}
}

View file

@ -17,8 +17,6 @@ public class Projectile : MonoBehaviour
private bool _alive;
public Zone Zone { get; set; }
public Vector3 StartPosition { get; set; }
public Vector3 Velocity { get; set; }
public float Damage { get; set; }

View file

@ -30,7 +30,6 @@ public class ProjectileManager : InstantWeaponEffectManager
p.Penetration = weapon.Penetration;
p.Spread = weapon.DamageSpread;
p.DamageType = weapon.DamageType;
p.Zone = source.Entity.Zone;
p.AirburstDistance = target != null
? CultMath.math.length(source.Entity.CultPosition - target.Entity.CultPosition)
: (weapon.Range * .75f);