Demote Unity weapon effects to presentation
This commit is contained in:
parent
70607384fc
commit
da6ab814c8
19 changed files with 52 additions and 84 deletions
|
|
@ -16,11 +16,8 @@ public class ConstantLightningManager : ConstantWeaponEffectManager
|
|||
var hp = source.Entity.Hardpoints[item.Position.x, item.Position.y];
|
||||
var barrel = source.GetBarrel(hp);
|
||||
p.Barrel = barrel;
|
||||
p.Damage = weapon.Damage;
|
||||
p.Range = weapon.Range;
|
||||
p.Penetration = weapon.Penetration;
|
||||
p.Spread = weapon.DamageSpread;
|
||||
p.DamageType = weapon.DamageType;
|
||||
p.ImpactIntensity = 1;
|
||||
_bolts.Add(item, p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue