Table of Contents

Class EntityBehaviorBoss

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Stores some properties of boss for use in other behaviors.
Uses the "boss" code Open in GitHub

[DocumentAsJson]
[AddDocumentationProperty("musicTrack", "The file path to music track", "System.String", "Optional", "None", false)]
public class EntityBehaviorBoss : EntityBehavior
Inheritance
EntityBehaviorBoss

Examples

"behaviors": [
 {
     "code": "boss",
     "bossHpBarRange": 30,
     "musicTrack": "theresonancearchives-eidolon",
 }
]

Fields

BossHpbarRange (Optional) (Default: 30)

From how far away the boss health bar is visible

[DocumentAsJson("Optional", "30", false)]
public float BossHpbarRange { get; set; }

Field Value

float

musicTrack (Optional) (Default: None)

The file path to music track

Field Value

String

ShowHealthBarBetweenDimensions (Unused)

Currently unused

[DocumentAsJson("Unused", "", false)]
public bool ShowHealthBarBetweenDimensions { get; set; }

Field Value

bool