Table of Contents

Interface IProjectileJsonConfig

Namespace
Vintagestory.API.Common.Entities
Assembly
VintagestoryAPI.dll
public interface IProjectileJsonConfig
Extension Methods

Properties

Collectible

If projectile can be collected when stuck.

bool Collectible { get; }

Property Value

bool

Damage

Projectile damage when hitting an entity.

float Damage { get; }

Property Value

float

DamageStackOnImpact

How much ProjectileStack should be damage on impact.

bool DamageStackOnImpact { get; }

Property Value

bool

DamageTier

Projectile damage tier when hitting an entity.

int DamageTier { get; }

Property Value

int

DamageType

Projectile damage type when hitting an entity.

EnumDamageType DamageType { get; }

Property Value

EnumDamageType

DropOnImpactChance

Chance for projectile to not be destroyed on impact.

float DropOnImpactChance { get; }

Property Value

float

IgnoreInvFrames

If damage source done by projectile will ignore invincibility frames.

bool IgnoreInvFrames { get; }

Property Value

bool

Weight

Projectile weight used for knockback calculations.

float Weight { get; }

Property Value

float