Srd.Content.Condition (srd_5e v0.2.0)

Copy Markdown View Source

An SRD condition.

Summary

Types

t()

An SRD condition

Types

t()

@type t() :: %Srd.Content.Condition{
  effects: [String.t()],
  name: String.t(),
  slug: String.t()
}

An SRD condition:

  • :slug - stable identifier used for lookup
  • :name - display name
  • :effects - the condition's effects, one statement per entry