Class EnemyInfo
- Namespace
- VoxelPlayground.Mod
- Assembly
- ModData.dll
[CreateAssetMenu(menuName = "VoxelPlayground/EnemyInfo")]
public class EnemyInfo : ScriptableObject
- Inheritance
-
object
EnemyInfo
- Extension Methods
-
Fields
damageToBuilding
public int damageToBuilding
Field Value
- int
damageToCharacter
[Header("Damage")]
public int damageToCharacter
Field Value
- int
damageToCharacterCooldown
public float damageToCharacterCooldown
Field Value
- float
deathSound
[Header("Sound")]
public SoundEvent deathSound
Field Value
- SoundEvent
dieCompletenessRatio
[Header("Die")]
[InfoBox("If the remaining voxel percentage is lower than this ratio, the enemy will die. A higher value makes the enemy easier to kill.", InfoMessageType.Info, null)]
[Range(0.1, 1)]
public float dieCompletenessRatio
Field Value
- float
[Range(0, 1)]
public float dropMetal
Field Value
- float
dropRoll
[FormerlySerializedAs("roll")]
[Header("Drop / Loot")]
public int dropRoll
Field Value
- int
dropStone
[Range(0, 1)]
public float dropStone
Field Value
- float
dropWood
[Range(0, 1)]
public float dropWood
Field Value
- float
hostileRank
Field Value
- int
isFireImmune
Field Value
- bool
isKnockOutImmune
[Header("Defense")]
public bool isKnockOutImmune
Field Value
- bool
isPoisonImmune
public bool isPoisonImmune
Field Value
- bool
knockOffForce
[Header("Knock Off")]
public float knockOffForce
Field Value
- float
projectileType
[Header("Attach")]
public ProjectileType projectileType
Field Value
- ProjectileType
rankBgm
[Header("Background Music")]
public SoundEvent rankBgm
Field Value
- SoundEvent
reachingSound
public SoundEvent reachingSound
Field Value
- SoundEvent
reachingSoundRange
public float reachingSoundRange
Field Value
- float
rotateSpeed
[Range(0, 2)]
public float rotateSpeed
Field Value
- float
walkingSpeed
[Header("Movement")]
[Range(0, 2)]
public float walkingSpeed
Field Value
- float