Function CreateBlightedGoldmine

  • Creates a new, undead blighted gold mine unit at the specified coordinates for the player. The haunted gold mine will create blight around the area, and will become a normal gold mine when destroyed. The amount of gold in the mine is determined by the Data - Max Gold field for the ability Gold Mine ability ('Agld').

    Parameters

    • id: Player<PlayerEventMap>

      The player to create the goldmine for.

    • x: number

      The x-coordinate of the goldmine.

    • y: number

      The y-coordinate of the goldmine.

    • face: number

      The facing of the goldmine in degrees.

    Returns Unit

Generated using TypeDoc