Fixed
This commit is contained in:
@@ -7,11 +7,14 @@ public sealed class RocketItemDefinition : ItemDefinition
|
||||
{
|
||||
[Tooltip("Stable rocket family id used by launchers and orders.")]
|
||||
[SerializeField] private string rocketTypeId;
|
||||
[Tooltip("Combat type sent to the map when this rocket is fired.")]
|
||||
[SerializeField] private MissileType missileType = MissileType.Standard;
|
||||
[SerializeField, Min(0.1f)] private float criticalImpactSpeed = 7f;
|
||||
|
||||
public string RocketTypeId => string.IsNullOrWhiteSpace(rocketTypeId)
|
||||
? ItemId
|
||||
: rocketTypeId;
|
||||
public MissileType MissileType => missileType;
|
||||
public float CriticalImpactSpeed => criticalImpactSpeed;
|
||||
|
||||
protected override void OnValidate()
|
||||
|
||||
Reference in New Issue
Block a user