tormenta20 - v0.0.0
    Preparing search index...

    Variable SpellCostConst

    SpellCost: { forCircle(circle: string | number): number | undefined } = ...

    Type Declaration

    • forCircle: function
      • Returns the base PM cost for a spell of the given circle.

        Parameters

        • circle: string | number

          the spell's circle (1-5)

        Returns number | undefined

        PM cost, or undefined if the circle is unknown

        SpellCost.forCircle(3) // 6
        SpellCost.forCircle("4") // 10