Function getChoiceObject

  • Create a choices object keyed by choice id, instead of property name.

    Parameters

    • monster: Monster

      The monster in question.

    Returns Record<number, string>

    An object keyed by choice id, with values of choice options.