tormenta20 - v0.0.0
    Preparing search index...

    Class Complicacao

    A Complicação (character complication) in Tormenta20.

    Chosen at character creation: the player accepts a mechanical drawback (effects) in exchange for freely picking any one general power whose prerequisites they meet (not a fixed grant tied to the complication — the gem doesn't model that choice, it belongs to the consumer's character-creation flow). categoria is "geral" for complications any character can take, or a class id (e.g. "guerreiro") for complications specific to that class.

    Complicacao.gerais().all()
    Complicacao.byCategoria("guerreiro").all()

    Hierarchy

    • BaseModel
      • Complicacao
    Index

    Constructors

    Accessors

    • get categoria(): string

      "geral", or a class id for class-specific complications.

      Returns string

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get effects(): unknown[]

      JSON array of typed mechanical drawback effects.

      Returns unknown[]

    • get id(): string

      Unique string identifier (e.g. "espada_longa", "guerreiro").

      Returns string

    • get livroId(): string

      Slug of the sourcebook this record was published in (e.g. "t20_eja").

      Returns string

    • get name(): string

      Display name.

      Returns string

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns a plain-object representation of this record.

      Returns {
          categoria: string;
          description: string | null;
          effects: unknown[];
          id: string;
          name: string;
      }