• Revives a dead hero at target location, 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>
    • loc: Location

      Location on map.

    • doEyecandy: boolean

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

    Returns boolean

    Note

    See: ReviveHero.

Generated using TypeDoc