EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StructureDamagedEvent

Committed damage reduced a structure's health.

Signature

{ amount: Count, definition: StructureId, kind: "structure_damaged", source: (ActorRef)?, target: ActorRef }

Fields

NameTypeMeaning
amountCountHealth actually lost.
Range: 0…2147483647; Unit: hp
definitionStructureIdStructure definition of the target.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
kind"structure_damaged"Discriminant
sourceActorRefConfirmed origin of the damage; absent for environmental sources.
Length: 1…256; Pattern: ^[\s\S]+$
targetActorRefDamaged structure.
Length: 1…256; Pattern: ^[\s\S]+$