asd
This commit is contained in:
@@ -19,7 +19,7 @@ public class WeaponItemDefinition : BaseItemDefinition, IEquipable
|
||||
public float Damage { get; set; } = 10f;
|
||||
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public float FireRate { get; set; } = 1f;
|
||||
public float FireRate { get; set; } = 10f; // Выстрелов в секунду
|
||||
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public float Range { get; set; } = 1000f;
|
||||
@@ -30,6 +30,15 @@ public class WeaponItemDefinition : BaseItemDefinition, IEquipable
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public string AmmoType { get; set; } = "Pistol";
|
||||
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public float ReloadTime { get; set; } = 2f;
|
||||
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public float Spread { get; set; } = 0.02f; // Разброс при стрельбе
|
||||
|
||||
[Property, Category( "Weapon Properties" )]
|
||||
public bool IsAutomatic { get; set; } = true; // Всегда автоматический режим
|
||||
|
||||
public override Inventar.InventorySlot? GetSlot() => Slot;
|
||||
|
||||
public override ItemCategory Category => ItemCategory.Weapon;
|
||||
|
||||
Reference in New Issue
Block a user