Class ProjectileJsonConfig
- Namespace
- Vintagestory.API.Common.Entities
- Assembly
- VintagestoryAPI.dll
public class ProjectileJsonConfig : IProjectileJsonConfig
- Inheritance
-
ProjectileJsonConfig
- Implements
- Inherited Members
- Extension Methods
Properties
Collectible
If projectile can be collected when stuck.
public bool Collectible { get; set; }
Property Value
Damage
Projectile damage when hitting an entity.
public float Damage { get; set; }
Property Value
DamageStackOnImpact
How much ProjectileStack should be damage on impact.
public bool DamageStackOnImpact { get; set; }
Property Value
DamageTier
Projectile damage tier when hitting an entity.
public int DamageTier { get; set; }
Property Value
DamageType
Projectile damage type when hitting an entity.
public EnumDamageType DamageType { get; set; }
Property Value
DropOnImpactChance
Chance for projectile to not be destroyed on impact.
public float DropOnImpactChance { get; set; }
Property Value
IgnoreInvFrames
If damage source done by projectile will ignore invincibility frames.
public bool IgnoreInvFrames { get; set; }
Property Value
Weight
Projectile weight used for knockback calculations.
public float Weight { get; set; }