implement smart bullet
This commit is contained in:
parent
21f7d1d5f4
commit
0e01ff0fb9
9 changed files with 54 additions and 21 deletions
|
@ -27,7 +27,8 @@ internal sealed class MapEntityManager(
|
|||
IsExplosive = type.HasFlag(MagazineType.Explosive),
|
||||
Timeout = DateTime.Now + _bulletTimeout,
|
||||
OwnerCollisionAfter = DateTime.Now + TimeSpan.FromSeconds(1),
|
||||
Speed = speed
|
||||
Speed = speed,
|
||||
IsSmart = type.HasFlag(MagazineType.Smart)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue