EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

launch_projectile

Launch a projectile from the caster along its aim; it strikes the first hostile body on its way and bursts where it ends. A player's spell power raises its damage.

Signature

{ caster: ActorRef, damage: PositiveHitPoints, kind: "launch_projectile", projectile: ProjectileId }

Fields

NameTypeMeaning
casterActorRefLiving actor the projectile leaves from: the event actor or the owner's own body.
Length: 1…256; Pattern: ^[\s\S]+$
damagePositiveHitPointsDamage of its hit before resistances; its burst deals a share of it.
Range: 1…2147483647; Unit: hp
kind"launch_projectile"Discriminant
projectileProjectileIdProjectile definition: flight, hit, burst and look.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: projectile

Validated example

{
  "caster": "a1",
  "damage": 30,
  "kind": "launch_projectile",
  "projectile": "core:fireball_shot"
}