Move weapon damage type behind runtime owner

This commit is contained in:
Meta Vens 2026-06-14 17:37:51 +01:00
commit f151ecedc1
9 changed files with 15 additions and 9 deletions

View file

@ -29,7 +29,7 @@ public class GuidedProjectileManager : InstantWeaponEffectManager
p.Range = weapon.Range;
p.Penetration = weapon.Penetration;
p.Spread = weapon.DamageSpread;
p.DamageType = weapon.WeaponData.DamageType;
p.DamageType = weapon.DamageType;
p.GuidanceCurve = launcher.GuidanceCurve.ToCurve();
p.LiftCurve = launcher.LiftCurve.ToCurve();
p.ThrustCurve = launcher.ThrustCurve.ToCurve();
@ -51,7 +51,7 @@ public class GuidedProjectileManager : InstantWeaponEffectManager
p.Range = weapon.Range;
p.Penetration = weapon.Penetration;
p.Spread = weapon.DamageSpread;
p.DamageType = weapon.WeaponData.DamageType;
p.DamageType = weapon.DamageType;
p.GuidanceCurve = guidance.GuidanceCurve.ToCurve();
p.LiftCurve = guidance.LiftCurve.ToCurve();
p.ThrustCurve = guidance.ThrustCurve.ToCurve();