tormenta20 - v0.0.0
    Preparing search index...

    Class Encantamento

    An Encantamento (magical enchantment) that can be applied to weapons or armor/shields.

    Encantamento.armas().all()
    Encantamento.armadurasEscudos().all()
    Encantamento.escudoOnly().all()
    Encantamento.find("afiado")

    Hierarchy

    • BaseModel
      • Encantamento
    Index

    Constructors

    Accessors

    • get contaComoDois(): boolean

      true if this enchantment counts as two enchantment slots.

      Returns boolean

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get efeito(): Record<string, unknown>

      JSON object with mechanical effects.

      Returns Record<string, unknown>

    • get escudoOnly(): boolean

      true if this enchantment can only be applied to shields (not regular armors).

      Returns boolean

    • get id(): string

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

      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: EncantamentoCategoria;
          conta_como_dois: boolean;
          description: string | null;
          efeito: Record<string, unknown>;
          escudo_only: boolean;
          id: string;
          name: string;
          prerequisitos: unknown[];
      }