tormenta20 - v0.0.0
    Preparing search index...

    Class Pocao

    A Poção (potion), Óleo (oil), or Granada (grenade) in Tormenta20.

    These are consumable magical items that replicate spell effects.

    Pocao.pocoes().all()
    Pocao.oleos().all()
    Pocao.granadas().all()
    Pocao.menores().all()
    Pocao.find("pocao_de_cura_menor")

    Hierarchy

    • BaseModel
      • Pocao
    Index

    Constructors

    • Parameters

      • _row: Record<string, unknown>

      Returns Pocao

    Accessors

    • get aprimoramento(): string | null

      Enhancement level identifier, or null.

      Returns string | null

    • get categoria(): string

      Power tier: "menor", "media", or "maior".

      Returns string

    • get createdAt(): string

      ISO 8601 timestamp of record creation.

      Returns string

    • get id(): string

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

      Returns string

    • get name(): string

      Display name.

      Returns string

    • get pmCost(): number

      PM cost of the replicated spell effect.

      Returns number

    • get rollMax(): number | null

      Maximum roll on the random loot table, or null.

      Returns number | null

    • get rollMin(): number | null

      Minimum roll on the random loot table, or null.

      Returns number | null

    • get spellId(): string

      ID of the spell this item replicates.

      Returns string

    • get subtipo(): string

      "pocao", "oleo", or "granada".

      Returns string

    • get updatedAt(): string

      ISO 8601 timestamp of last update.

      Returns string

    Methods

    • Returns a plain-object representation of this record.

      Returns {
          aprimoramento: string | null;
          categoria: string;
          description: string | null;
          id: string;
          name: string;
          pm_cost: number;
          preco: number;
          roll_max: number | null;
          roll_min: number | null;
          spell_id: string;
          subtipo: string;
      }