Mines and Flamethrowers

This commit is contained in:
Reinier Vens 2021-02-06 15:29:04 +00:00
commit 79b0c036cb
36 changed files with 10594 additions and 18 deletions

View file

@ -24,6 +24,8 @@ public class ProjectileManager : InstantWeaponEffectManager
Random.Range(-angle, angle)) *
barrel.forward *
weapon.Velocity;
if(InheritVelocity)
p.Velocity += new Vector3(source.Entity.Velocity.x, 0, source.Entity.Velocity.y);
p.Damage = weapon.Damage;
p.Range = weapon.Range;
p.Penetration = weapon.Penetration;