• Revives a dead hero at target coordinates, with or without special effects.

    Returns true if hero was dead and revived. Returns false otherwise (hero alive, unit isn't a hero/doesn't exist etc.).

    Parameters

    • whichHero: Unit<UnitEventMap>

      Target dead hero.

    • x: number

      X map coordinate.

    • y: number

      Y map coordinate.

    • doEyecandy: boolean

      True to revive with revival special effects, false without. Special effects include: sound, visual effect.

    Returns boolean

    Note

    See: ReviveHeroLoc.

Generated using TypeDoc